Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown xpath version with 20241231 #284

Open
tsteven4 opened this issue Jan 22, 2025 · 1 comment
Open

unknown xpath version with 20241231 #284

tsteven4 opened this issue Jan 22, 2025 · 1 comment

Comments

@tsteven4
Copy link

Our project builds are failing with 20241231 "Unknown XPath version 0". They had been working with 20220510. The document xmldoc/readme is from https://github.com/gpsbabel/gpsbabel. Any hints would be appreciated.

2025-01-22T13:47:49.2447350Z + jing http://docs.oasis-open.org/docbook/xml/5.0/sch/docbook.sch xmldoc/readme.xml
2025-01-22T13:47:50.1789370Z Exception in thread "main" java.lang.IllegalArgumentException: Unknown XPath version 0
2025-01-22T13:47:50.1801600Z  at net.sf.saxon.Configuration.newExpressionParser(Configuration.java:2804)
2025-01-22T13:47:50.1802080Z  at net.sf.saxon.expr.ExpressionTool.make(ExpressionTool.java:72)
2025-01-22T13:47:50.1802570Z  at net.sf.saxon.style.StyleElement.makeExpression(StyleElement.java:519)
2025-01-22T13:47:50.1803040Z  at net.sf.saxon.style.XSLApplyTemplates.prepareAttributes(XSLApplyTemplates.java:86)
2025-01-22T13:47:50.1803600Z  at net.sf.saxon.style.StyleElement.processAttributes(StyleElement.java:419)
2025-01-22T13:47:50.1804050Z  at net.sf.saxon.style.StyleElement.processAllAttributes(StyleElement.java:368)
2025-01-22T13:47:50.1804570Z  at net.sf.saxon.style.StyleElement.processAllAttributes(StyleElement.java:376)
2025-01-22T13:47:50.1805010Z  at net.sf.saxon.style.StyleElement.processAllAttributes(StyleElement.java:376)
2025-01-22T13:47:50.1805590Z  at net.sf.saxon.style.PrincipalStylesheetModule.processAllAttributes(PrincipalStylesheetModule.java:303)
2025-01-22T13:47:50.1806190Z  at net.sf.saxon.style.PrincipalStylesheetModule.preprocess(PrincipalStylesheetModule.java:221)
2025-01-22T13:47:50.1806760Z  at net.sf.saxon.PreparedStylesheet.setStylesheetDocument(PreparedStylesheet.java:340)
2025-01-22T13:47:50.1807290Z  at net.sf.saxon.TemplatesHandlerImpl.getTemplates(TemplatesHandlerImpl.java:90)
2025-01-22T13:47:50.1807890Z  at com.thaiopensource.validate.schematron.SchemaReaderImpl.createSchema(SchemaReaderImpl.java:379)
2025-01-22T13:47:50.1809140Z  at com.thaiopensource.validate.auto.SchemaReaderSchemaReceiver$1.reparse(SchemaReaderSchemaReceiver.java:25)
2025-01-22T13:47:50.1809830Z  at com.thaiopensource.validate.auto.AutoSchemaReader.createSchema(AutoSchemaReader.java:75)
2025-01-22T13:47:50.1810360Z  at com.thaiopensource.validate.ValidationDriver.loadSchema(ValidationDriver.java:127)
2025-01-22T13:47:50.1810800Z  at com.thaiopensource.relaxng.util.Driver.doMain(Driver.java:142)
2025-01-22T13:47:50.1811270Z  at com.thaiopensource.relaxng.util.Driver.main(Driver.java:35)
@tsteven4
Copy link
Author

If I revert Remove configuration of XSLT version in Saxon then my problem goes away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant