DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4041>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4041 Null Pointer Exception at schema validating with complex substitution Groups Summary: Null Pointer Exception at schema validating with complex substitution Groups Product: Xerces-J Version: 1.4.3 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Schema-Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] As i want to validate the file sample_with_nullpointer.xml i got the following null pointer exception: SAXException : java.lang.NullPointerException java.lang.NullPointerException at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:195) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:184) at NASReader.getXMLDocument(NASReader.java:55) at NASReader._$1139(NASReader.java:36) at NASReader.<init>(NASReader.java:15) at NASReader.main(NASReader.java:31) Then i changed the file to sample.xml. I replaced some derived tag-types with basic tags and made an xsi:type - casting. Then i could validate the file. Both files can be validated with XMLSpy 4.0. I can send the schema and xml files if you want them. Thank's Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
