Project

Profile

Help

Bug #3964

clearProperties() / Resetting DTD Validation Programmatically Does Not Work

Added by O'Neil Delpratt almost 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Category:
Saxon-C Internals
Start date:
2018-10-10
Due date:
% Done:

0%

Estimated time:
Found in version:
1.1.0
Fixed in version:

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()

History

#1 Updated by O'Neil Delpratt over 1 year 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

Also available in: Atom PDF