I implemented a DefaultHandler (using a SAXParser) and added a couple of 
additional validation checks - in case there is a violation I want to throw 
a SAXParserException and report the location of the event being handled by 
the parser. Unfortunaly the column and line values are "-1". Can anyone tell 
what I am doing wrong (see snipet) if this is possible at all in this way.

Locator locator;

setDocumentLoactor(locator);

startElement(...){
...
   locator.getColumnNumber(); //returns -1





_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to