You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Umesh Chandak <um...@gs-lab.com> on 2007/02/20 05:59:49 UTC

how to get offset in case of xerces

Hi All,
I am parsing the WSDL (Web Service Description Language) file xerces
DOM. I also perform some validations on that WSDL file and If I get some
validation error in that WSDL file then I want to print the offset of
that location in that file. In Xerces you can do this only in case of
saxException (line # * column #). So can any body tell me how to get the
offset of location where validation get failed ? And suppose if I throw
saxexception from there then does it automatically fills in the line
number and column number .
Waiting for reply.
Thanks in advance.
Regards,
Umesh