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=17732>. 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=17732 http://apache.org/xml/properties/schema/external-schemaLocation Summary: http://apache.org/xml/properties/schema/external- schemaLocation Product: Xerces2-J Version: 2.3.0 Platform: PC OS/Version: Other Status: NEW Severity: Critical Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The current implementation "fail" to complain with the property with the following error messages :"Exception:java.lang.ClassCastException: org.apache.xerces.impl.dv.xs.ListDV$ListData ". The error I find was with borland jbuilder 6 jdk 1.3.1 at file "org.apache.xerces.impl.xs.XMLSchemaLoader" at proc "public static void processExternalHints(String sl, String nsl, Hashtable locations, XMLErrorReporter er)" at line "Object[] uris = (Object[])actualValue;". I solved the problem changing the line to "Object[] uris = (Object[])((ListDV.ListData)actualValue).getData();" adding import org.apache.xerces.impl.dv.xs.ListDV; at the start of the file and changing "org.apache.xerces.impl.dv.xs.ListDV" the inner class ListData declaration in "public final static class ListData" and adding the method "public Object[] getData() { return data; }" in ListData. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
