PS: I am using jdk1.3 and Xerces 1.4.1
-----Original Message-----
From: NeSmith, David [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 5:56 PM
To: '[EMAIL PROTECTED]'
Subject: Schema validation problems
I am getting a null pointer exception every time I try to validate a file
against it's schema. It says what validation errors are in the file or it
says nothing if there is no validation error. But directly after that there
is a null pointer. These are the features I turned on.
parser.setFeature("http://xml.org/sax/features/validation", true);
parser.setFeature("http://apache.org/xml/features/validation/schema", true);
parser.setFeature("http://apache.org/xml/features/validation/schema-full-che
cking", true);
parser.setFeature("http://apache.org/xml/features/dom/defer-node-expansion",
true);
java.lang.NullPointerException at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)
any help?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]