users@jaxb.java.net

Re: "unexpected character literal " Validation Exception

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 23 Feb 2004 15:17:30 -0800

> u.setEventHandler(new MyDefaultValidationEventHandler());
> Here is the Validation error (Notice the Location is EMPTY STRING):
> DefaultValidationEventHandler: [ERROR]: unexpected character literal
> Location:

Could you use the following ValidationEventHandler and tell us what the
output is?

    public boolean handleEvent( ValidationEvent event ) {
        System.out.println( event.getLocator() );
        return true;
    }


regards,
--
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net