Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Gene Wirchenko Newsgroups: comp.lang.java.programmer Subject: Re: java get xml file line number for the current node Date: Mon, 20 Feb 2012 13:35:39 -0800 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: mx04.eternal-september.org; posting-host="JCn9+dUdCQH+ycRezr2Sxw"; logging-data="19447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5C03fXs1zZYZj8Rf2FZELcd1PuLtL3cc=" X-Newsreader: Forte Agent 4.2/32.1118 Cancel-Lock: sha1:4u+k5JPY2qpyA9zgYXW/82OW4A4= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:12200 On Mon, 20 Feb 2012 11:58:34 -0800, Lew wrote: >mani wrote: >> How can I now find the line number in the source XML file where this >> node occurs? > >It's a meaningless question. There are no line numbers in XML. Really, Lew! There are no line numbers in Java either, but somehow, compilation messages that give line numbers are rather more useful than messages without. Sincerely, Gene Wirchenko