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=18310>. 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=18310 external-schemaLocation failure Summary: external-schemaLocation failure Product: Xerces2-J Version: 2.3.0 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Recurrence of problem (fixed in 2.2.1) with loading external schema (with namespace) DOMParser parser = new DOMParser(); parser.setFeature("http://xml.org/sax/features/namespaces", true); parser.setFeature("http://apache.org/xml/features/validation/schema", true); parser.setFeature("http://xml.org/sax/features/validation", true); parser.setProperty("http://apache.org/xml/properties/schema/external- schemaLocation", ns+" "+schema); parser.parse(filename); The above code has been verified to work under Xerces 2.2.1. Under 2.3.0 the following exception is raised. java.lang.ClassCastException at org.apache.xerces.impl.xs.XMLSchemaLoader.processExternalHints (Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.reset(Unknown Source) at org.apache.xerces.parsers.BasicParserConfiguration.reset(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.reset(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
