clearProperties() / Resetting DTD Validation Programmatically Does Not Work
Reported by user:
clearProperties() / Resetting DTD Validation Programmatically Does Not Work.
The below shows a subsequent error message on an XSLT transform, performed using the same SaxonProcessor as a previous SchemaValidator with the following: instance.setConfigurationProperty('http://saxon.sf.net/feature/validation','on')
But with the below command to clear the validation property called before the transform instance is created: instance.clearConfigurationProperties()
#1 Updated by O'Neil Delpratt about 2 years ago
Deferring investigation for this issue to the next major release. The problem is There is no way to set/add changes to the configuration properties to the processors once they have been created. For example, When we create a SchemaValidator, the configuration properties are then set on the Validator processor, where applicable. A new SchemaValidator has to be created to accept changes on the Configuration.
Please register to edit this issue