Bug #4177
closedSchemaValidator setParameter has no effect
100%
Description
In the SchemaValidator the setParameter method is not required. It would be useful to have a properties method that works similar to the setParameter method, where we can map an XdmValue.
Updated by O'Neil Delpratt over 5 years ago
- Subject changed from SchemaValidator setParameter not require to SchemaValidator setParameter has no effect
- Status changed from New to In Progress
I had incorrectly thought the setParameter method is not required for SchemaValidator. However after digging deep into the Java SchemaValidator code a parameter can be defined in the schema, used for the saxon:param extension. Available for XSD 1.1 with assertions.
See documentation: http://www.saxonica.com/documentation9.8/index.html#!schema-processing/parameterizing-schemas.
Therefore the Saxon/C java interface needs to support this.
Updated by O'Neil Delpratt over 5 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Added code in the Saxon/C Java API to handle the Schema parameters. Fixed and committed to the Saxon/C 1.1 and 1.2 branches.
Updated by O'Neil Delpratt about 5 years ago
- Status changed from Resolved to Closed
- Fixed in version set to 1.2.0
Big fix applied in the Saxon/C 1.2.0 release.
Please register to edit this issue