[Bug 203] more line/column number support
[email protected] Thu, 19 Aug 2004 12:51:11 -0500 (EST)
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
http://www.extreme.indiana.edu/bugzilla/show_bug.cgi?id=203 [email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From [email protected] 2004-08-19 12:51 ------- this request is beyond what i think most parser can support however there is optional ROUNTRIP feature that if supported by parser it may what you need: http://xmlpull.org/v1/doc/features.html#xml-roundtrip XPP3/MXP1 supports ROUNDTRIP and when you get column/line number it is always after last token ex. for START_TAG <tag \t\n attr="test">^ positions is on character just after ">" - now you can use getText()/getTextCharacters to get *exact* content of any XML token such as " \t\n " and you can parse it to get exact location of each attribute etc. that should be enough? ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/2U_rlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/xmlpull-dev/ <*> 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/