[digester] Problem using Digester 3.2 with oracle xdk xmlparser

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[digester] Problem using Digester 3.2 with oracle xdk xmlparser

Michelle Lin-2
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

Reply | Threaded
Open this post in threaded view
|

Re: [digester] Problem using Digester 3.2 with oracle xdk xmlparser

Jochen-7

Hi, Michelle,

On 2018/01/25 20:58:00, Michelle Lin <[hidden email]> wrote:
> Hi experts,
> I'm trying to use Digester 3.2 with oracle idk xml parser and got following exception:

could you please enlighten me, whet the "oracle idk xml parser" is?

Thanks,

Jochen



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]