[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Empty elements
On Thu, 12 Feb 1998, David Megginson wrote: > In other words, XML processors may (and should) treat > > <br></br> > > and > > <br/> > > as equivalent, but document authors might want to make the distinction > so that pre-WebSGML SGML parsers can handle their documents. Ah. Pardon me my ignorance. Different syntax for empty elements in XML or SGML was a nuisance anyway, so this seems to be a one more thing fixed. <CLIP> > SAX as it currently stands is not designed to preserve most lexical > information; in the future, we may devise a SAX level-2 to return this > information, but since most applications that need it will probably > use a DOM anyway, the demand may not be strong enough. If i understood this correctly, SAX is also not designed for interoperatibility. If you want to generate pre-WebSGML from XML using SAX (and accept that lexical information is not preserved), you still would need the ability to detect empty declared elements. - Jani 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
|