there is an answer. it's just not a good one.

i have raised this issue previously and either sandy or elena provided the
answer:

the problem is that the schema is read into a DOM and the line number and
column number information isnt conserved.

so, the validator looks at the now DOM-ified schema and finds errors. it
reports the errors in the correct way, but the mechanism to resolve the
error back to a line/column number is unimplemented, because the
information was never saved.

it's certainly solvable, but it's not currently on anybody's list of
things to do AFAIK.

On Thu, 14 Feb 2002, Hua Yang wrote:

> hi:
> 
> Somebody has asked the same question before but seems no answer.
> 
> The ASBubilder example with xerces2 doesn't return correct value for line
> and column number. Always -1:-1.
> 
> It seems that getColumnNumber() and getLineNumber() function can't find the
> right value to return.
> 
> Any help will be appreciated.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to