elharo / xom

XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with Java that strives for correctness, simplicity, and performance, in that order.
https://xom.nu
Other
62 stars 32 forks source link

remove xalan #203

Closed elharo closed 1 year ago

elharo commented 1 year ago

Let's see what happens if we simply rip Xalan out and rely on the built-in JDK version by default.

fixes #202

elharo commented 1 year ago

est: [junit] Test nu.xom.tests.XSLTransformTest FAILED [junitreport] Processing /home/circleci/project/testresults/TESTS-TestSuites.xml to /tmp/null149831217 [junitreport] Loading stylesheet jar:file:/opt/apache-ant/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl [junitreport] Transform time: 793ms [junitreport] Deleting: /tmp/null149831217

elharo commented 1 year ago

This might be and perhaps should be worked around:

testIllegalTransform | Error | Syntax error in stylesheet nu.xom.xslt.XSLException: Syntax error in stylesheet at nu.xom.xslt.XSLTransform.(Unknown Source) at nu.xom.xslt.XSLTransform.(Unknown Source) at nu.xom.xslt.XSLTransform.(Unknown Source) at nu.xom.tests.XSLTransformTest.testIllegalTransform(Unknown Source)Caused by: javax.xml.transform.TransformerConfigurationException: Cannot find external method 'www.example.com.fn' (must be public). at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:990) | 0.005