Announcement: SAX2 1999-06-01 alpha release for Java

John Cowan cowan at locke.ccil.org
Thu Jun 24 19:26:42 BST 1999


David Brownell wrote:

> Problem:  it's a read-only property, so that it's not possible to specify
> the input document in a portable way.  It's as if SAX 1.0 didn't have a
> way to feed an input source (or document URI) into a parser.

A better approach, methinks, is to extend DocumentSource to allow
dom.Document as one of the kinds of input source.  My DOMParser
does just this, and throws an exception if you pass any source
that is *not* a Document.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan at ccil.org
	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 ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
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