[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: ANNOUNCEMENT: Proposed SAX Revisions
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@c...| david@d... > 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@i... > Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ > To (un)subscribe, mailto:majordomo@i... the following message; > (un)subscribe xml-dev > To subscribe to the digests, mailto:majordomo@i... the following message; > subscribe xml-dev-digest > List coordinator, Henry Rzepa (mailto:rzepa@i...) xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|