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]