SAX2: Features and Properties

David Brownell david-b at
Sun Jan 2 17:15:56 GMT 2000

David Megginson wrote:
>   Read-only.  Valid only during a callback (null otherwise).
>   The DOM node currently being visited if SAX is being used as a DOM
>   iterator and is visiting a DOM node.

Having this be read-only means that there's no portable way
to use this "dom iterator" facility, since there's no way to
feed initial the DOM node to it!!

A simple fix:  it's readonly inside a parse() invocation, and
is writable otherwise.

Not fixing this means that such iterators must be nonportable;
which should IMHO be an anti-goal.

- Dave

p.s. This issue was raised in the initial discussions.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe 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