From: Sandro De Z. <sa...@ei...> - 2009-04-07 22:07:42
|
-----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----- |