-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Patrick,
On 5/4/2011 4:18 AM, Patrick Diviacco wrote: > Ok, however browsers have the same problem my editor has in displaying and > matching tags in big files. We use a custom handler called a TracingSAXHandler which extends DefaultHandler, overrides the setDocumentLocator method to capture the Locator object, and then uses a stack to observe the start/end element events. Anytime something goes wrong, you can consult the Locator to see where you are. Try using something like that and just do a SAXParser.parse() using that handler: it should be able to tell you where the start of that element is, line and column. Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3NoqoACgkQ9CaO5/Lv0PDyjACghiIeYtAQ7aWxIpf3ptC06Xxi KccAn1uiW8JrsUnkWgdp8wBp86GADoAf =6Gfe -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
