You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Ing. Hans Pesata" <hp...@chello.at> on 2002/04/25 15:47:25 UTC

current linenumber in SAX2 parser ???

Hi !

I am using XERCES 1.7.0 on WIN32 and I am currently implementing a
SAX2-parser.
I am overriding the startElement() endElement() methods.

I want to know which line-number I am in when I am detecting e.g. an invalid
value.

I read about the locators but how can I use them in this context ?
I need the current linenumber within the startElemet() / endElement()
processing,

Thanx in advance!

Regards,
Hans Pesata



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org