"Swanson, Brion" wrote: > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/xerces/parsers/AbstractDOMParser > at > com.westgroup.morpheus.filters.dom.XFilter$1.startElement(XFilter.java:155) > at > org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340) > at > org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:965) > at > org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1858) > 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:952) > at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:991)
The stack trace clearly shows that you are actually using the Xerces 1.x parser. The Xerces2 parser no longer has any "...xerces.validators" or "...xerces.framework" packages. So it must be a classpath problem that you are having. What kind of environment are you running this under? Is there any possible way that it could be using the old Xerces JAR file? I don't see anything in your code that would be causing the problem you are seeing. As long as you stick with using the standard XML interface (DOM, SAX, JAXP, etc), you should be shielded from any implementation changes. -- Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
