OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: ANN: DOMParser

[ Lists Home | Date Index | Thread Index ]
  • From: "Bill la Forge" <b.laforge@jxml.com>
  • To: "Michael Kay" <M.H.Kay@eng.icl.co.uk>, "XML Dev" <xml-dev@ic.ac.uk>
  • 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@eng.icl.co.uk>
>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@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)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS