Discussion:
[digester] Problem using Digester 3.2 with oracle xdk xmlparser
(too old to reply)
Michelle Lin
2018-01-25 20:58:00 UTC
Permalink
Hi experts,
I'm trying to use Digester 3.2 with oracle idk xml parser and got following exception:
-----------
Caused By: java.lang.NoSuchMethodException: No such accessible method: setTargetURI() on object: oracle.xml.parser.v2.XMLElement

    at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:276)

    at org.apache.commons.digester3.AbstractMethodRule.invoke(AbstractMethodRule.java:245)

    at org.apache.commons.digester3.AbstractMethodRule.end(AbstractMethodRule.java:192)

    at org.apache.commons.digester3.Digester.endElement(Digester.java:1128)

    at org.apache.commons.digester3.NodeCreateRule$NodeBuilder.endElement(NodeCreateRule.java:196)

    at org.apache.commons.digester3.Digester.endElement(Digester.java:1043)

    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1679)

    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:471)

    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:417)

    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:251)

    at org.apache.commons.digester3.Digester.parse(Digester.java:1642)

    at org.apache.commons.digester3.Digester.parse(Digester.java:1745)
-----------
Same code worked with digester 1.8. Does this mean I cannot use Digester 3 with oracle xdk parser?
I use following to hook up to oracle xdk parser:

Digester(new oracle.xml.jaxp.JXSAXParserFactory().newSAXParser());


Thank you for your help.
Thanks,
- michelle
Jochen Wiedmann
2018-02-21 10:10:14 UTC
Permalink
Hi, Michelle,
Post by Michelle Lin
Hi experts,
could you please enlighten me, whet the "oracle idk xml parser" is?

Thanks,

Jochen



---------------------------------------------------------------------
To unsubscribe, e-mail: user-***@commons.apache.org
For additional commands, e-mail: user-***@commons.apache.org

Loading...