[ 
https://issues.apache.org/jira/browse/XERCESJ-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Glavassevich resolved XERCESJ-1072.
-------------------------------------------

    Resolution: Incomplete

Jing is calling into a Xerces internal class which isn't supported and subject 
to change at any time. There have been no such reported problems when the 
public APIs are used to invoke schema validation.

Likely there's some kind of problem with the XMLComponentManager that Jing is 
passing into reset. I can't tell that for sure because the stack trace doesn't 
show specifically what cast it failed on. Would suggest opening a bug report 
against Jing since they would know what they would be passing into the 
XMLSchemaValidator.

> ClassCastException in XMLSchemaLoader.reset
> -------------------------------------------
>
>                 Key: XERCESJ-1072
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1072
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema API
>    Affects Versions: 2.6.2
>         Environment: JDK 1.4.2 on OS X. Using Xerces through Jing.
>            Reporter: Henri Sivonen
>
> When using Xerces for XSD validation through Jing, a 
> java.lang.ClassCastException is thrown in 
> org.apache.xerces.impl.xs.XMLSchemaLoader.reset.
> java.lang.ClassCastException
>         at org.apache.xerces.impl.xs.XMLSchemaLoader.reset(Unknown Source)
>         at org.apache.xerces.impl.xs.XMLSchemaValidator.reset(Unknown Source)
>         at com.thaiopensource.validate.xerces.ValidatorImpl.reset(Unknown 
> Source)
>         at com.thaiopensource.validate.xerces.ValidatorImpl.<init>(Unknown 
> Source)
>         at 
> com.thaiopensource.validate.xerces.SchemaImpl.createValidator(Unknown Source)
>         at com.thaiopensource.validate.ValidationDriver.validate(Unknown 
> Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to