I've been grappling with this issue, and have been frustrated by the various
restrictions placed on #PCDATA. I understand that mixed content is messy and
problematic, and avoiding it would make life simpler. Unfortunately it also
seems necessary if you want to do things like tag reserved or important
terms wherever they appear in body text, which is hardly an unusual
practice. So it seems to me this is a case where the standard is at odds
with the real-world requirements many of us face. Am I missing something?
From: Peter Flynn [mailto:[log in to unmask]]
Sent: Wednesday, May 16, 2001 5:06 PM
To: [log in to unmask]
Subject: Re: XML DTD syntax
On Wed, 16 May 2001, Wendell (I think, assuming I properly dissected the
> Oh, and there are a couple of other differences. XML has no inclusions or
> exclusions to content models; and XML has tight restrictions on content
> models containing #PCDATA (to disallow Pernicious Mixed Content, an old
> SGML bugaboo).