SAX: Error Reporting (question 4 of 10)

Paul Prescod papresco at technologist.com
Mon Jan 5 12:03:57 GMT 1998


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 at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list