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]

Re: [xml-dev] Element Occurrence and #PCDATA

Betty's point about validation is also helpful. My guess is that this
appears in the books you mentioned for the simple reason that it is easier
to teach that way. There are two angles (probably more) from which you can
teach mixed content-- if you start with (#PCDATA)* as a base-- the reader
will have that in his/her head-- so when you explain how to add the other
elements the reader is already thinking "*". The other is to first teach
occurence indicators then move to mixed content defintions. The fact that
parsers don't care allows the authors to choose...

All the best,

Jeff Rafter
Defined Systems
XML Development and Developer Web Hosting