Documentation on setProperty/getProperty methods
For some classes, e.g. Xslt30Processor, the API documentation for the getProperty/setProperty methods is sketchy, in terms of listing the available properties and expected values.
For other classes, e.g. SchemaValidator, this information is completely missing.
Updated by Debbie Lockett 4 months ago
This bug was raised against the Saxon/C 1.2 documentation. Indeed, the API documentation is patchy. But the "Configuration" section (https://www.saxonica.com/saxon-c/documentation1.2/index.html#!configuration) does provide better information about
SchemaValidator. It would be useful if the API documentation linked back to this.
For SaxonC 11, it looks like the APIs have changed somewhat (though the "Configuration" section has not, so there is work to do here). Looking at the APIs it looks like none of the processors (
SchemaValidator) have a
getProperty method now (on C++, Python, or PHP). Meanwhile,
setProperty is found on
SchemaValidator, but not on
Xslt30Processor, since it has now moved to
XsltExecutable (which in fact unexpectedly also has a
getProperty method on C++ only!!)
The Saxon 11 API documentation for
setProperty methods varies. Examples may be given of available properties, but these probably aren't complete lists.
- on C++ the
setPropertyinfo contains some examples on
XPathProcessor, but not for
- for the PHP API, the
setPropertymethods have no useful info;
- for Python, the documentation for all the
set_propertymethods includes examples.
Please register to edit this issue