I am using XmlBeans 3.1.0. I NEED to have the Saxon dependencies on a Maven public repository (building myself an artifact to be there). None of the supported libraries in the saxonb9-0-0-4j.zip are to be found there.
So I tried to adapt to Saxon-HE-10, by overriding the default PATH_DELEGATE_INTERFACE default value to a class of my own that tries to grapple with Saxon HE 10 using a DocumentWrapper whose DOM level I set to 2. Unfortunately Saxon support for Dom level 2 is faulty is that the DomNodeWrapper ends up calling isSameNode() that raises an exception in xmlbeans.imp.store.DomImpl._node_isSameNode method. Saxon does not support or test Dom level 2 now, which severely affects XmlBeans XPath support. 1 - Are there any plan to support DOM level 3 ? 2 - Is there a workaround that would allow me to jump from the idref to the element referred to ? I tried the xmlbeans built-in basic Xpath support but things like "Element[@id='xx']" won't work and are rejected by the XPath tokenizer (I didn't investigate the variants of the [] syntax though). Bernard Bou --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
