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/20 00:21:35 UTC

DO NOT REPLY [Bug 18172] New: - Class Cast exception occurs when attempting to process external hints

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=18172>.
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=18172

Class Cast exception occurs when attempting to process external hints

           Summary: Class Cast exception occurs when attempting to process
                    external hints
           Product: Xerces2-J
           Version: 2.3.0
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: XML Schema Structures
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: twilight_fades57@hotmail.com


The code is trying to cast a particular object to an object array. Seems like 
there's no type saftey in this code, as Objects are passed around everywhere 
and casted as needed.
Stack is as follows
java.lang.ClassCastException
	at org.apache.xerces.impl.xs.XMLSchemaLoader.processExternalHints
(XMLSchemaLoader.java:567)
	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)

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org