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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: java get xml file line number for the current node
Date Tue, 21 Feb 2012 11:50:20 -0800
Organization albasani.net
Lines 34
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>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net w8vZF9IfjZEPJ/5hC4VprUwRWt54JcKT+4vqZvy9bXXYk40eQ+mNGB4Yl/ckIjS9EUb35NnV+bihwRFDBxawXPmW8CZsnpybDirruCo5sIBrH2W7SZfUt5Jc8k7UJMHj
NNTP-Posting-Date Tue, 21 Feb 2012 19:50:22 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="uUdJrjSEI72eYEHastrGKhsIhuXf50hoVlo5yn2oq1EkV9xzeFLblJUfM6zvln3k5YL4Y3+6E7npIKQUHRFrtigf7wOWy0bF84pZPHKL8mYezEQLBI8R7SRf0qYAEpNS"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
In-Reply-To <07n7k7prea2l3fau5bhuv930l43k41iu5m@4ax.com>
Cancel-Lock sha1:bBlZiAZ0Fk6Txo3arlW92OWav88=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:12238

Show key headers only | 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