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

Thomas Dyar tad at bu.edu
Fri Dec 15 07:37:29 PST 2000


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




More information about the jdom-interest mailing list