users@jaxb.java.net

Re: Does not throw an validation exception

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Thu, 08 May 2003 08:17:51 -0700

> Is this what the ValidationEventCollector do ? collect all events and make
> it available for further processing(where it can be processed as needed) ?

Yes.

> Also why would an error on one element affect the next one ?

That's how error recovery works in many text processing system. Just
think about javac. When you incorrectly type:

    foo.invokeMethod( arg1, arg2[index arg3 arg4 ;

Javac will just report one error in this sentence.

regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com