hi,

Any help for the problem I have? The same error occurs with SAXON 9.0 as well.


        public final static String XQ_SIGNATURE = "declare namespace
ds='http://www.w3.org/2000/09/xmldsig#' "
                        + "$this//ds:Signature[1]";
        SignatureType[] signatures = (SignatureType[])
xbean.selectPath(XMLBeanSignatureUtils.XQ_SIGNATURE);

------

My XmlBean was running fine on SAXON8.8, but failed when the saxon jar is
replaced with the 8.9 version (full package)

I got the stack trace:

java.lang.RuntimeException: Trying XBeans path engine... Trying XQRL...
Trying Saxon... FAILED on declare namespace saml='urn:oasis:names:tc:SAML:
1.0:protocol' .//saml:Response[1]
java.lang.RuntimeException: Trying XBeans path engine... Trying XQRL...
Trying Saxon... FAILED on declare namespace saml='urn:oasis:names:tc:SAML:
1.0:protocol' .//saml:Response[1]
at org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:131)
at org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:91)
at org.apache.xmlbeans.impl.store.Cursor._selectPath(Cursor.java:902)
at org.apache.xmlbeans.impl.store.Cursor.selectPath(Cursor.java:2634)
at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(
XmlObjectBase.java:431)
at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(
XmlObjectBase.java:415)

I have xbean.jar and xbean_xpath.jar in the classpath.

I googled around including this mailing list but couldn't find out a
solution. Downgrading is not quite an option for me. Any idea on how this
can be fixed?

Thanks a lot.

Reply via email to