Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #12238

Re: java get xml file line number for the current node

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: java get xml file line number for the current node
Date 2012-02-21 11:50 -0800
Organization albasani.net
Message-ID <ji0shu$9sj$1@news.albasani.net> (permalink)
References <d3efe9cf-d789-4534-9087-236810197fea@p2g2000pbb.googlegroups.com> <jhu8la$90c$3@news.albasani.net> <daWdnbz787WI_97SnZ2dnUVZ7qednZ2d@brightview.co.uk> <ji0jg1$kdk$1@news.albasani.net> <07n7k7prea2l3fau5bhuv930l43k41iu5m@4ax.com>

Show all headers | View raw


Gene Wirchenko wrote:
> Lew wrote:
>
> [snip]
>
>> Aside from the fact that I've conceded the limits of my statement multiple
>> times before you posted, which apparently you've chosen to ignore in your rush
>> to seem clever, you completely missed my point.
>
>       Odd use of "conceded" qwhen you continue to make your argument:

Odd use of "continue to make [my] argument" when I made a different point.

>> Are there line numbers in a DOM tree?
>>
>> No, of course not, and that's what I was trying to say. The line numbers don't
>> matter. What matters is the structure of the tree. Just like Java source line
>
>       It depends on how you are looking at the data.  If you are trying
> track down an error, knowing what line the parser was working on when
> it threw the error will usually help in locating the error.

That's line numbers in the source, a different question. Once the document has 
been parsed, the line number ceases to have relevance. You discuss what's 
needed during compilation, a completely separate phase from the result phase, 
in this case a DOM tree.

I agree that it's useful to know where in the source there's a problem, up 
until but not including when the source has lost relevance.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

java get xml file line number for the current node mani <mekalai82@gmail.com> - 2012-02-20 02:50 -0800
  Re: java get xml file line number for the current node Arne Vajhøj <arne@vajhoej.dk> - 2012-02-20 09:32 -0500
    Re: java get xml file line number for the current node Arne Vajhøj <arne@vajhoej.dk> - 2012-02-20 19:59 -0500
  Re: java get xml file line number for the current node Lew <noone@lewscanon.com> - 2012-02-20 11:58 -0800
    Re: java get xml file line number for the current node Gene Wirchenko <genew@ocis.net> - 2012-02-20 13:35 -0800
      Re: java get xml file line number for the current node Lew <noone@lewscanon.com> - 2012-02-20 14:42 -0800
        Re: java get xml file line number for the current node Arne Vajhøj <arne@vajhoej.dk> - 2012-02-20 19:57 -0500
          Re: java get xml file line number for the current node Gene Wirchenko <genew@ocis.net> - 2012-02-20 17:21 -0800
          Re: java get xml file line number for the current node Lew <noone@lewscanon.com> - 2012-02-20 17:27 -0800
    Re: java get xml file line number for the current node Arne Vajhøj <arne@vajhoej.dk> - 2012-02-20 19:57 -0500
    Re: java get xml file line number for the current node Roedy Green <see_website@mindprod.com.invalid> - 2012-02-20 18:00 -0800
    Re: java get xml file line number for the current node bugbear <bugbear@trim_papermule.co.uk_trim> - 2012-02-21 09:21 +0000
      Re: java get xml file line number for the current node Lew <noone@lewscanon.com> - 2012-02-21 09:15 -0800
        Re: java get xml file line number for the current node Gene Wirchenko <genew@ocis.net> - 2012-02-21 10:07 -0800
          Re: java get xml file line number for the current node Lew <noone@lewscanon.com> - 2012-02-21 11:50 -0800
  Re: java get xml file line number for the current node Jeff Higgins <jeff@invalid.invalid> - 2012-02-20 17:35 -0500
    Re: java get xml file line number for the current node Lew <noone@lewscanon.com> - 2012-02-20 14:46 -0800
      Re: java get xml file line number for the current node Jeff Higgins <jeff@invalid.invalid> - 2012-02-20 19:48 -0500

csiph-web