OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Empty elements

[ Lists Home | Date Index | Thread Index ]
  • From: Jani Jaakkola <jjaakkol@cs.Helsinki.FI>
  • To: xml-dev@ic.ac.uk
  • Date: Thu, 12 Feb 1998 17:24:41 +0200 (EET)



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@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)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS