Laurent PETIT wrote:
> Hello,
>
> 2008/9/24 Dennis Sosnoski <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
>
>     The reason the line number sometimes appears off is because it
>     uses the
>     "current" line when the object is created. ...
>
>
> My example did not have start tags spanning multiple lines.

Depending on how the element is handled in the binding, reading the 
start tag may automatically advance to the next "interesting" part of 
the document (like text content, or another start tag). So even without 
the start tag spanning multiple lines it may advance to the next line, 
which is admittedly awkward.

>
>     I could cache the line and column values, so that I'd have the
>     line and
>     column matching the actual start of the start tag. ...
>
>
> Is it a tradeoff between speed and correctness ?

You can put it that way.  :-[ Alright, I'll try the caching approach.

>  
>
>     Hmmm. JiBX uses this itself for the binding definitions (and schema
>     definitions and customization files, for 1.2), and it is probably
>     confusing to people that the reported line number doesn't always match
>     the actual line number. Perhaps I should go to caching for 1.2.
>     What do
>     the other people using track-source think?
>
>
> By the way, the web site currently still indicates a date of June 2008 
> for 1.2 release.
> Do you have a new estimation for the 1.2 release date ?

I'm doing final testing on the beta 1 code now, and will get something 
out by the beginning of next week no matter what. The main hold up is 
the documentation - I'd much rather work on code than on documentation, 
so this creates a situation where there's an ever-increasing number of 
added features for the release (all of which need to be documented, of 
course).

  - Dennis

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to