You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xml.apache.org by "Longstrom, Ed" <lo...@AtlasCommerce.com> on 2000/07/06 15:59:54 UTC

Error Running xerces 1_1_2 dom.DOMFilter example

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