-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 03, 2001 8:26 PM
To: Xerces DEV
Cc: Xerces User
Subject: About Validation...

Hello..
I am studying about Xerces1.3.1 to Handling XML with DTD/Schema.
Yesterday, I found a little strange thing about validation just this;
 
DOMParser parser = new DOMParser();
parser.setFeature("http://xml.org/sax/features/validation",true);
parser.parse(filepath);
Document doc = parser.getDocument();
Element root = doc.getDocumentElement();
 
You know, if XML data structure is different with DTD/Schema,
I expect to occur validation error.. but it passed without any error.
 
How can I test of validation?

Reply via email to