[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CDATA sections in W3C XML Infoset
- From: Francis Norton <email@example.com>
- To: John Cowan <firstname.lastname@example.org>
- Date: Wed, 28 Mar 2001 13:51:36 +0100
John Cowan wrote:
> Richard Lanyon scripsit:
> > Could someone explain to me why CDATA section start/end markers were
> > taken out of the W3C Infoset?
> Essentially because we (but I am NOT speaking officially for the Core WG
> here) don't think they carry any real information. There is no difference
> between CDATA sections and careful use of < and &.
Beg to differ, sir.
Design goal 6 in the XML spec is:
"XML documents should be human-legible and reasonably clear."
True, there is no difference in *machine* semantics "between CDATA
sections and careful use of < and &" but there is a real
difference in human-legibility and clarity between the two, especially
We've all learnt to fear and loath the sight of CDATA sections being
used to output unbalanced markup, but I would like to suggest
respectfully that dropping the CDATA start and end markers out of the
infoset as a way of discouraging this practice is overkill.