Hi Joe,
[EMAIL PROTECTED] wrote on 10/27/2008 05:25:25 PM:
> > Thanks for your response, but I'm not looking for column and row
> > numbers in the XML document. I might have been a little ambiguous
> > in using the word "location". What I need is the reference to the
> > Node object in the DOM
Thank you very much, Michael. This is exactly what I was looking for.
- Original Message
From: Michael Glavassevich <[EMAIL PROTECTED]>
To: j-users@xerces.apache.org
Cc: [EMAIL PROTECTED]
Sent: Monday, October 27, 2008 1:59:06 PM
Subject: Re: How to get exact location of schema valida
Hi!
Many many thanks for answer!
Problem solved with a StringBuffer! :jumping:
Michael Glavassevich-3 wrote:
>
>
> Hi,
>
> Fuzzo <[EMAIL PROTECTED]> wrote on 10/22/2008 03:54:18 AM:
>
>> Hi all!
>>
>> Let me explain the problem with an example.
>> I have to parse an XML in this form:
>>
>>
> Thanks for your response, but I'm not looking for column and row
> numbers in the XML document. I might have been a little ambiguous
> in using the word "location". What I need is the reference to the
> Node object in the DOM tree that caused the validation error. The
> perfect solution wo
Hi Alex,
The current element node being visited by the Validator can be queried [1]
from your error handler by calling back into it with getProperty() [2].
Thanks.
[1]
http://xerces.apache.org/xerces2-j/properties.html#dom.current-element-node
[2]
http://xerces.apache.org/xerces2-j/javadocs/api
Hi,
Fuzzo <[EMAIL PROTECTED]> wrote on 10/22/2008 03:54:18 AM:
> Hi all!
>
> Let me explain the problem with an example.
> I have to parse an XML in this form:
>
> some_text_with_%_symbol
>
> With Xerces1 SAX parser, the element text (some_text_with_%A7_symbol) is
> parsed in one solution with f
Hi, Mukul
Thanks for your response, but I'm not looking for column and row numbers in the
XML document. I might have been a little ambiguous in using the word
"location". What I need is the reference to the Node object in the DOM
tree that caused the validation error. The perfect solution wo