xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Longstrom, Ed" <longstrom...@AtlasCommerce.com>
Subject Error Running xerces 1_1_2 dom.DOMFilter example
Date Thu, 06 Jul 2000 13:59:54 GMT
I get the following error while running the dom.DOMFilter example.  I
believe that I have the settings exactly as specified.  Any thoughts?

the sax.SAXCount works fine, dom.DOMCount returns nothing.

Thank you,

- Ed


C:\java\xerces-1_1_2>java dom.DOMFilter data/personal.xml

C:\java\xerces-1_1_2>java dom.DOMFilter data/personal.xml
data/personal.xml:
org.xml.sax.SAXNotRecognizedException:
http://apache.org/xml/features/validation
/schema
        at
org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1117)

        at
org.apache.xerces.parsers.DOMParser.setFeature(DOMParser.java:645)
        at dom.wrappers.DOMParser.setFeature(DOMParser.java:119)
        at dom.DOMFilter.print(DOMFilter.java:117)
        at dom.DOMFilter.main(DOMFilter.java:323)

C:\java\xerces-1_1_2>set classpath
CLASSPATH=%CLASSPATH%;c:\java\xerces-1_1_2\xerces.jar;c:\java\xerces-1_1_2\x
ercesSamples.jar

Mime
View raw message