Ant errors
Posted: Thu Jan 04, 2024 4:47 am
Hi, I had a transformation that used an Ant script to do a few things with a zip file and run a transformation on a XML file contained within. When I updated to v26 this script started throwing the following errors:
The warnings appear to be a known bug with JRE/Xerces - I don't know that it's causing the failure. However the XPath error I can't account for. If I change the 'eq' to just a '=', I get another odd XSL error about needing a select statement that's already there. Is your Ant configuration defaulting to Xerces for it's transformation engine? I get a similar sort of error about the 'eq' operator when I run the XSL using Xerces outside the Ant script. I tried to point to the Oxygen framework Saxon jar in the Ant script (using a classpath and XsltClassname), but your patched version doesn't seem to have net.sf.saxon.TransformerFactoryImpl, so wasn't sure how to configure otherwise.
Code: Select all
Processing C:\Users\seb9911\repositories\oxygen-frameworks\das-frameworks\ddmf\ddmf_package\examples\DOC_PDFC_TBC-TBX_D6-17370_20201005T070000Z_20201006T003033Z.ZIP ...
Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
...
Error parsing XPath expression 'meta[@property eq 'dms:priorPackageName']'.