[standards-jig] sequence vs. choice

Julian Missig julian at jabber.org
Thu Feb 7 00:25:02 UTC 2002


On Wed, 2002-02-06 at 19:22, David Waite wrote:
> Julian Missig wrote:
> 
> >If this is going to be in the RFC, we have to get it right and you guys
> >have to stop laughing at me for making this clarification.
> >body/subject/etc contain PCDATA, not CDATA. The difference is that we
> >parse the text inside <body> tags - & becomes the & character and
> >such. If <body> contained CDATA, it would not be parsed, & would
> >remain &
> >
> Whoops, yes.  I've never understood this though, because attributes are 
> CDATA (but still parsed for entities)
> 

The answer, I *think*, is that attributes are not parsed for entities.

Julian
-- 
email: julian at jabber.org
jabber:julian at jabber.org




More information about the Standards mailing list