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

Re: Validation with XML4J

From: Seema Kumar <2kseema@sun20.datamatics.com>
Date: Fri, 7 Dec 2001 11:35:08 +0530
Message-ID: <006701c17ee5$20653a00$524111cf@datamatics.com>
To: "Guillaume Rousse" <rousse@ccr.jussieu.fr>, <xmlschema-dev@w3.org>
Hi Rousse,

The SAXCount.java sample in the XML4J samples does not contain the
validation option. It just performs plain parsing and counting of elements.
I want to stick to the XML4J parser and not switch to the xerces parser for
validation alone as the remaining part of my module performs plain parsing
using XML4j.
So please let me know if you can help me with validating xml schemas using


----- Original Message ----- 
From: "Guillaume Rousse" <rousse@ccr.jussieu.fr>
To: <xmlschema-dev@w3.org>
Cc: "Seema Kumar" <2kseema@sun20.datamatics.com>
Sent: Thursday, December 06, 2001 7:49 PM
Subject: 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 Friday, 7 December 2001 01:06:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:56 UTC