- From: Franz-Josef Herpers <franz-josef.herpers@spmtechnologies.com>
- Date: Wed, 22 Aug 2001 14:58:20 +0200
- To: xmlschema-dev@w3.org
Hi,
> Please let me know if I am missing something here to
> validate this.
You are using Xerces. With Xerces you have to turn on the validation feature
(http://xml.apache.org/xerces-j/features.html)
try {
p.setFeature("http://xml.org/sax/features/validation", true);
} catch (SAXException e) {
System.out.println("error in setting up parser feature");
}
Hope this helps
Franz
Received on Wednesday, 22 August 2001 08:58:28 UTC