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

[Question] Feature.PREFER_JAXP_PARSER is not in Saxon 11.3 #334

Open
aanno opened this issue Apr 8, 2022 · 2 comments
Open

[Question] Feature.PREFER_JAXP_PARSER is not in Saxon 11.3 #334

aanno opened this issue Apr 8, 2022 · 2 comments

Comments

@aanno
Copy link

aanno commented Apr 8, 2022

Hello,

XProcConfiguration contains a line

        bFeatureMap.put("http://saxon.sf.net/feature/preferJaxpParser", Feature.PREFER_JAXP_PARSER);

However, Feature.PREFER_JAXP_PARSER is not in Saxon 11.3. Hence

[main] WARN DbXslt20Ng - xslt20 format: html output: /mnt/home/tpasch/scm/aanno/db-toolchain/./asciidoc-writers-guide.html5 xpl: /mnt/home/tpasch/scm/aanno/db-toolchain/src/main/resources/docbook-xsl20/db2html-db-toolchain.xpl
Exception in thread "main" java.lang.NoSuchFieldError: PREFER_JAXP_PARSER
        at [email protected]/com.xmlcalabash.core.XProcConfiguration.<clinit>(XProcConfiguration.java:168)
        at [email protected]/com.github.aanno.dbtoolchain.org.docbook.XSLT20.newDefaultXProcRuntime(XSLT20.java:254)

What to do about it?

@ndw
Copy link
Owner

ndw commented Apr 8, 2022

I think there are other changes that will be necessary for Saxon 11. I have been working on it, but my time is divided in a lot of different directions. I'll see if I can get it out this weekend.

aanno added a commit to aanno/db-toolchain that referenced this issue Apr 8, 2022
@aanno
Copy link
Author

aanno commented Apr 8, 2022

Nevermind. Just wondered. I could stick to a saxon 10.x for a while...

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

2 participants