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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CDATA vs. EMPTY



Hi,

   XML 1.0 SE says: "An element with no content is said to be empty".
Does the following fragment have any content?

  <elem><![CDATA[]]></elem>

The Recommendation further reads: "The representation of an empty
element is either a start-tag immediately followed by an end-tag, or an
empty-element tag". This is true for the fragment in it's canonical
representation.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/