axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Gordon <st...@student.usyd.edu.au>
Subject Re: XML Schama message validation.
Date Mon, 22 Sep 2003 03:15:26 GMT
This isn't really an axis question, but i think that this should get you 
on the way:

SAXParserFactory spf = new SAXParserFactory();
spf.setValidating(true);

SAXParser saxp = spf.newInstance();

saxp.parse(WHATEVER);

For further help read the Xerces API docs: 
http://xml.apache.org/xerces2-j/api.html

stephen



Marcin Okraszewski wrote:

> Hi,
> I would like to validate incoming messages against XML Schema 
> definition, but unfortunately I don't know to do it.
> 
> Could you tell me how to do it?
> 
> Thanks in advance.
> Marcin Okraszewski
> 
> 
> 



Mime
View raw message