users@jaxb.java.net

Re: Line-numbers of already parsed elements

From: Thomas Behrends <tbehrends_at_instantolap.de>
Date: Thu, 08 May 2003 17:36:35 +0200

Kohsuke Kawaguchi wrote:

>My point was, it's not obvious where that locator points to. Suppose you
>have a large complex type with a lot of children, do you expect the
>locator to point the beginning of it, the end of it, or what? There
>could be large difference between them.
>
>Can you live with "approximated" location information?
>
that would be enough. im currently using a "postcompiler" which adds the
locator to the elements. The locator points to the last line of the
opening tag and none of my users complained about these "approximated"
line-numbers.

tom

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