/** * Create a Processor * @param schemaAware indicates whether the Processor is schema-aware or not. To create a schema-aware * processor, the Saxon-SA product is required. */ public Processor(boolean schemaAware) { if (schemaAware) { config = Configuration.makeSchemaAwareConfiguration(null, null); schemaManager = new SchemaManager(config); } else { config = new Configuration(); } }