Hmmm, Is this a trick question? Isn't this really just the hello world of
xerces?
Something like
import org.xml.sax.ErrorHandler;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.XMLRea
Hi Ben,
There are many pre-compiled samples that ship with Xerces-J which can be
used from the command line to do what you want. Take a look at the docs
[1].
Thanks.
[1] http://xerces.apache.org/xerces2-j/samples-jaxp.html#SourceValidator
Michael Glavassevich
XML Parser Development
IBM Toronto
I wonder wether there is a way to call Xerces directly from the command line in
order to validate a XML doc
against an (external) XSD schema file.
Can I do this (with either C++ or Java Xerces) ?
It seems to me that Xerces is created only for usage calls from Java/C++
If yes: where are the com