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=6005>. 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=6005 While resolving a file using the EntityResolver. Summary: While resolving a file using the EntityResolver. Product: Xerces2-J Version: 2.0.0 [alpha] Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: SAX AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] While resolving a file using the EntityResolver: why is it that if a schema file is importing or including: and instead of a forwardslash(/) if a give a backslash(\) does the "Malformed URI" come. (f:/Projects/Schema_Demo/xsd/purchaseOrderSchema.xsd works fine whereas f:\Projects\Schema_Demo\xsd\purchaseOrderSchema.xsd throws the above exception. the error: projects\Schema_Demo/xsd/purchaseOrderSchema.xsd is a Malformed URI . [error]: schema error: schemaLocation attribute must appear in <include> and <redefine>. ) How can I solve this problem(i.e. if i implement my own org.xml.sax.EntityResolver) then to avoid this exception what checking should i add in the resolveEntity(String pubId, String sysId) method. Due to the above behaviour i get a runtime NullPointerException that i cannot catch. the NPE is: Exception occurred during event dispatching: java.lang.NullPointerException at java.io.File.<init>(Unknown Source) at org.apache.xerces.util.EntityResolverWrapper.resolveEntity (EntityResolver Wrapper.java:141) at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchema (XSDHandler.java :930) at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees (XSDHandler .java:412) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema (XSDHandler.ja va:310) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
