SAX2: Features and Properties
David Brownell
david-b at pacbell.net
Sun Jan 2 17:15:56 GMT 2000
David Megginson wrote:
>
> http://xml.org/sax/properties/dom-node
> 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 ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe 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