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=17352>. 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=17352 ClassCastException in XMLSchemaLoader.processExternalHints() Summary: ClassCastException in XMLSchemaLoader.processExternalHints() Product: Xerces2-J Version: 2.3.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Some code is bad in processExternalHints: Object actualValue = attrDecl.fType.validate(sl, null, null); Object[] uris = (Object[])actualValue; actualValue is not an Object[], it is: org.apache.xerces.impl.dv.xs.ListDV$ListData I get this by calling: parser.setProperty("http://apache.org/xml/properties/schema/external-schemaLocation", getSchemaLocations()); with a "\n" separated list of schema location URIs java.lang.ClassCastException at org.apache.xerces.impl.xs.XMLSchemaLoader.processExternalHints(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.reset(XMLSchemaValidator.java:1345) at org.apache.xerces.parsers.BasicParserConfiguration.reset(BasicParserConfiguration.java:543) at org.apache.xerces.parsers.DTDConfiguration.reset(DTDConfiguration.java:640) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:512) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:595) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:191) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
