[jdom-interest] xerces-jdomb5 incompatibility with getQName(i)?

Jason Hunter jhunter at collab.net
Fri Dec 15 10:34:09 PST 2000


This was asked *yesterday* for god's sake!  It's also in the FAQ!!

http://lists.denveronline.net/lists/jdom-interest/2000-December/004089.html

-jh-

Thomas Dyar wrote:
> 
> All,
> 
> I have searched the archives, and it seems like b5 is supposed to work
> with the latest xerces (Dec. 6 build), at least regarding the
> "org.xml.sax.Attributes.getQName(int)" method. I have no problems
> building, but when I try to parse my xml, I get the following trace. What
> should I look for??
> 
> Uncaught exception: java.lang.NoSuchMethodError: org.xml.sax.Attributes:
> method getQName(I)Ljava/lang/String; not found
>         at org.jdom.input.SAXHandler.startElement(SAXBuilder.java:607)
>         at
> org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1371)
>         at
> org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:840)
>         at
> org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1853)
>         at
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1234)
>         at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948)
>         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:302)
>         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:337)
>         at
> com.vality.log.ELogConfiguration.parseConfiguration(ELogConfiguration.java:700)
>         at
> com.vality.log.ELogConfiguration.<init>(ELogConfiguration.java:191)
>         at com.BreakPoint : Uncaught exception:
> java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
> getQName(I)Ljava/lang/String; not found
>         at org.jdom.input.SAXHandler.startElement(SAXBuilder.java:607)
>         at
> org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1371)
>         at
> org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:840)
>         at
> org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1853)
>         at
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1234)
>         at
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948)
>         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:302)
>         at org.jdom.input.SAXBuilder.build(SAXBuilder.java:337)
> 
> Thanks,
> Tom
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com



More information about the jdom-interest mailing list