Project

Profile

Help

Bug #3964

closed

clearProperties() / Resetting DTD Validation Programmatically Does Not Work

Added by O'Neil Delpratt over 5 years ago. Updated about 1 year ago.

Status:
Rejected
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:
Platforms:

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

Actions #1

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.

Actions #2

Updated by O'Neil Delpratt about 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

Also available in: Atom PDF