Bug #3964
closed![Author: O'Neil Delpratt](https://www.gravatar.com/avatar/a0bc1766b412d8fecb16f7d304916359?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: O'Neil Delpratt](https://www.gravatar.com/avatar/a0bc1766b412d8fecb16f7d304916359?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
clearProperties() / 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 over 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