W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2001

Re: Validation with XML4J

From: Guillaume Rousse <rousse@ccr.jussieu.fr>
Date: Thu, 6 Dec 2001 15:19:55 +0100
To: <xmlschema-dev@w3.org>
Cc: "Seema Kumar" <2kseema@sun20.datamatics.com>
Message-Id: <20011206141956.31D4F302@silbermann.snv.jussieu.fr>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:54 UTC