Re: SAX: Error Reporting (question 4 of 10)

Paul Prescod (papresco@technologist.com)
Mon, 05 Jan 1998 06:30:37 -0500


David Megginson wrote:
>
> Paul Prescod writes:
>
> > I would prefer a getCurrentLocation() method that can be called
> > anywhere.
>
> I had considered adding something like that to XmlParser, but am not
> certain if the complexity is worth it -- if we allow it, then we might
> want to pass the current parser as an argument to each callback.

I would say: let the application cache it.

Paul Prescod

--
http://itrc.uwaterloo.ca/~papresco

Art is always at peril in universities, where there are so many people, young and old, who love art less than argument, and dote upon a text that provides the nutritious pemmican on which scholars love to chew. -- Robertson Davies in "The Cunning Man"

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@ic.ac.uk the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)