xmlcalabash1 icon indicating copy to clipboard operation
xmlcalabash1 copied to clipboard

[Question] Feature.PREFER_JAXP_PARSER is not in Saxon 11.3

Open aanno opened this issue 2 years ago • 2 comments

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?

aanno avatar Apr 08 '22 12:04 aanno

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.

ndw avatar Apr 08 '22 12:04 ndw

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

aanno avatar Apr 08 '22 12:04 aanno