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=18193>. 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=18193 problem with external-schemaLocation property Summary: problem with external-schemaLocation property Product: Xerces2-J Version: 2.3.0 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It seems that there is a problem with the http://apache.org/xml/properties/schema/external-schemaLocation property used with the http://xml.org/sax/features/validation and the http://apache.org/xml/features/validation/schema features set to true: when these settings are set on the XMLReader, parsing the document results in a ClassCastException, while the same code with the same xml and xsd files works well with 2.2.1 version. Here is the exception stack trace: java.lang.ClassCastException at org.apache.xerces.impl.xs.XMLSchemaLoader.processExternalHints (Unknow n Source) at org.apache.xerces.impl.xs.XMLSchemaValidator.reset(Unknown Source) at org.apache.xerces.parsers.BasicParserConfiguration.reset(Unknown Sour ce) 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.AbstractSAXParser.parse(Unknown Source) at validate.process(validate.java:71) at validate.main(validate.java:86) null --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
