Hi David,

On Wed, Jun 24, 2009 at 6:35 AM, govelogo<govel...@gmail.com> wrote:
> But I got this error,
> error: Parse error occurred -
> com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl
> java.lang.ClassCastException:
> com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl
>         at TypeInfoWriter.main(TypeInfoWriter.java:558)

It seems, you have hit a classpath issue. Your application seems to be
using the JAXP implementation available in Sun JDK. You may try
setting a system property to use Xerces-J JAXP SchemaFactory.
Something like below:

System.setProperty("javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema","org.apache.xerces.jaxp.validation.XMLSchemaFactory";);

Michael, might be able to provide a more correct answer :)


-- 
Regards,
Mukul Gandhi

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to