Skip to content
Advertisement

Tag: saxon

Validation issues with polymorphic xml

We have some abstract elements defined in our root schema e.g.: … which are then extended as follows: These elements are used inside our xml file: However, when I try to validate the xml using Saxon command line, I get the error message below: Here is a link to the actual sample files for reference: xml / root schema –

importNode throws org.w3c.dom.DOMException: NOT_SUPPORTED_ERR

I am trying to merge two XML documents both with standard Oracle JDK 7 and also with Saxon HE but I keep getting an: On the line with the importNode below (same thing happens with adoptNode BTW): I’ve tried both with Saxon-HE-9.4.jar on my classpath or not, but I still get the same error. update Based on comments I received,

Advertisement