AW: XML Schema validation

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