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

Problem reading document with schema verification

           Summary: Problem reading document with schema verification
           Product: Xerces2-J
           Version: 2.3.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Other
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Trying to parse a document with the 2.3.0 version of xerces I get the following
error:

Exception in thread "main" java.lang.ClassCastException:
org.apache.xerces.impl.dv.xs.ListDV$ListData
        at org.apache.xerces.impl.xs.XMLSchemaLoader.processExternalHints(Unknown 
Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.reset(Unknown Source)
        at org.apache.xerces.parsers.BasicParserConfiguration.reset(Unknown Source)
        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)

The document has a schema declaration 

  xsi:schemaLocation="http://www.wfmc.org/2002/XPDL1.0
http://www.wfmc.org/standards/docs/xpdl.xsd";

which is overridden by the external-schemaLocation property (associating the URI
with a local file).

Everything works perfectly with my older version of xerces - sorry, I don't
remember the older version, I just jave a xercesImpl.jar lying around (md5sum is
39d7741d83666e8448d428b07ef83c19 if that's of any help).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to