Bug #3964
closedclearProperties() / Resetting DTD Validation Programmatically Does Not Work
0%
Description
Reported by user:
The clearProperties()
/ Resetting DTD Validation Programmatically Does Not Work.
Example:
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()
Updated by O'Neil Delpratt about 5 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.
Updated by O'Neil Delpratt over 1 year ago
- Status changed from New to Rejected
Closing this bug as it has been around for a long time.
Please register to edit this issue