Bug #4020
closedIncorrect XSLT validation error in Oxygen XML Editor 20.1 when Saxon config file is used
0%
Description
When validating an XSLT file in Oxygen XML Editor 20.1 using its default validation scenario, I get an unexpected error message:
Cannot find a 2-argument function named {java:ro.sync.util.xslt.XPathElementsAndAttributesExtractor}getElementNames(). Reflexive calls to Java methods are not available under Saxon-HE
The error message relates to a Schematron file that is run as part of the validation scenario (attached).
According to my Oxygen Preferences, the validation engine for XSLT 2.0 and 3.0 is Saxon-EE 9.8.0.12 (not Saxon-HE)
My preferences also include using a Saxon config file (attached). The only config options in this file relate to XSLT 3 packages.
But if I switch the Preferences to not use a config file, the error message goes away.
I've raised a ticket with Oxygen support as well, as I can't tell where the problem ultimately lies.
Is there anything I need to include in the Saxon config file to prevent this error message appearing? Or is it a bug?
Files
Updated by Mark Dunn about 6 years ago
Found the issue: I needed to explicitly declare @edition="EE" on the root element in the config file.
Updated by Michael Kay about 6 years ago
- Status changed from New to Closed
Glad you were able to solve it.
Marking as closed.
Please register to edit this issue