Re: ANNOUNCEMENT: Proposed SAX Revisions

Lisa Rein (lisarein@finetuning.com)
Fri, 20 Mar 1998 12:42:34 -0800


just a polite second about DOCTYPE. Leave it in please.

Please, oh please, leave it in. :-)

thank you (oh thank you)

lisa

David G. Durand wrote:
>
> I read the revisions, and they're very sensible. But I have one deletion
> request, and one addition request.
>
> I don't believe the arguments about the uselessness of Doctype. Until this
> proposal, I didn't see any reason to argue about it, however. Leave
> Doctype in. Those who find it useless won't use it. It's sure not so
> hard to implement that requiring it is a hardship on parser writers, so I
> fail to see why it shouldn't be kept.
>
> Please, please, please, allow me a way to find out if an element was
> "empty". (i.e. written <e/>). I use this information when I write DTDs, and
> intend to continue doing so. I also know, from the long discussions in the
> XML-SIG that I am not alone in using this syntax to represent a distinction
> that I want preserved and detectable by applications.
>
> Probably the best way to handle this might be to have an extra flag argument
> on the element end event (to indicate this element end was not present in
> the document). This lets people who care about whether an element was empty
> find out, without greatly inconveniencing people who want to follow the
> simpler "every element is a container" model.
>
> -- David
> ------------------------------------------+----------------------------
> David Durand dgd@cs.bu.edu| david@dynamicDiagrams.com
> Boston University Computer Science | Dynamic Diagrams
> http://www.cs.bu.edu/students/grads/dgd/ | http://dynamicDiagrams.com/
> | MAPA: mapping for the WWW
>
> 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)