Line numbers and other information in XML parsing
Sandro De Zanet <[email protected]> Tue, 07 Apr 2009 14:36:19 -0700
| Newsgroups | gmane.comp.lang.eiffel.gobo.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What is the best method of figuring out data like line or column numbers while parsing XML? I use the XM_EIFFEL_PARSER with an implementation of XM_CALLBACKS. The provided features (callbacks) do not allow to query the current parse position in the file. I solve the problem by passing the XM_EIFFEL_PARSER instance to the implementation of XM_CALLBACKS. Is there a better way of doing this? - -- Sandro -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknbx0MACgkQMQrpLaQQ008rZACfauXnJFe4Z2a+58srYmgnmZWF UA0An21c8tbB1AnlhtTdjbTmDh1c1CjU =cbbQ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com