Hi,

I'm writing a SAX XML parser and I need to check not only syntax (validation)
but also semantics of tags. I would like to use Locator class to get position of
tags within parsed file in order to report eventual errors but I'm rather
confused how to use it.

Who is reponsible for its implementation ??
Is the implementation a part of the xerces library or is it up to programmer to
implement the interface defined by xerces ?

Could you send me a short example of a code which would show use of Locator (as
none of the examles supplied shows that)?

Thanks a lot.

Mira



Reply via email to