|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@h... } 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/
|
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
|
|||||||||

Cart








