property addition for simplified debugging?

Stefan Haustein <[email protected]> Mon, 07 Apr 2003 16:32:24 +0200
Newsgroups gmane.text.xml.xmlpull.devel
Organization Univ. Dortmund FB 4 LS 8
Message-ID <[email protected]>
Hi,

would it make sense to have a "location" or "url" or similar property that can 
be set to inform the parser about the file location, which would be contained in 
the XmlPullParserException text?

The problem is: When you are parsing lots of files, it is always necessary to 
catch parsing exceptions and to rethrow new exceptions including the file 
location to find the XML file causing the error....

Best,
Stefan



-- 
Stefan Haustein
Univ. Dortmund, FB 4, LS 8   tel: +49 231 755 2499
Baroper Str. 301             fax: +49 231 755 5105
D-44221 Dortmund (Germany)   www-ai.cs.uni-dortmund.de






------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/W7NydA/hdqFAA/VygGAA/2U_rlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/