Re: Validation with XML4J

Ainsi parlait Seema Kumar :
> Hi all,
>
> Could anybody provide me with the code or the methods to be used for
> validating an xml against a schema using the XML4J parser ?
> I am not able to find any sample code in the documentation.
As xml4j use the same code base as xerces-j, i guess you can invoke the 
sax.SAXCount or dom.DOMCount classes (from samples) with following flags:
-in <file> the file to validate
-v to triggers validation
-- 
Guillaume Rousse <rousse@ccr.jussieu.fr>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Received on Thursday, 6 December 2001 09:21:14 UTC