Project

Profile

Help

Bug #4177

closed

SchemaValidator setParameter has no effect

Added by O'Neil Delpratt almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
C++ API
Start date:
2019-03-25
Due date:
% Done:

100%

Estimated time:
Found in version:
1.1.2
Fixed in version:
1.2.0
Platforms:

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.

Actions #1

Updated by O'Neil Delpratt almost 5 years ago

  • Description updated (diff)
Actions #2

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

Actions #3

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

Actions #4

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

Also available in: Atom PDF