commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Lin <mch...@yahoo.com.INVALID>
Subject [digester] Problem using Digester 3.2 with oracle xdk xmlparser
Date Thu, 25 Jan 2018 20:58:00 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message