ANN: DOMParser

John Cowan cowan at
Wed Sep 16 18:30:55 BST 1998

A preliminary version of DOMParser is now available at my XML page
(  DOMParser is a compliant SAX
parser, except that its input comes from a DOM implementation
rather than an InputSource.  An additional method, parse(Document d),
is introduced to parse DOM Document objects.  The standard parse()
methods throw errors.  (Perhaps they should look for a real parser
and a DOM implementation to try to create a DOM Document instead?)

A demo program is also available, based on the SAX ByteStreamDemo
and using the Docuverse DOM SDK as the DOM.  Its output is identical
to that of ByteStreamDemo using Aelfred 1.2 as the parser, except
that it does not try to resolve a SystemId or set a Locator
(Locators making no sense when there is no source text).

John Cowan		cowan at
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list