You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/03/06 17:36:14 UTC
DO NOT REPLY [Bug 17732] New: -
http://apache.org/xml/properties/schema/external-schemaLocation
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: xerces-j-dev@xml.apache.org
ReportedBy: acaleffi@yahoo.it
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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org