[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Bill la Forge" <b.laforge@j...>
  • To: "Michael Kay" <M.H.Kay@e...>, "XML Dev" <xml-dev@i...>
  • Date: Fri, 18 Sep 1998 08:56:58 -0400

I had the same problem. I ended up extending document with
a reference to context. (Context is null when parsing is complete.)

Context then allows access to locator and a few other things specific
to coins. One driving issue for me was that an element needed to
throw a SAXParseException at endElement time and needed
access to the locator to be able to identify the element where the
error occurs.

Bill

-----Original Message-----
From: Michael Kay <M.H.Kay@e...>
>One thing I needed to do in SAXON was to allow the SAX
>application to get a reference to the DOM element currently
>being processed; I did this by subclassing the SAX Locator
>class. Does DOMParser provide anything comparable?



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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member