Re: content="mixed"

James Clark wrote:

>Why content="mixed" instead of the more expressive alternative of a
><pcdata> particle?  content="mixed" is insufficiently expressive to
>adequately capture many perfectly reasonable content models (eg
>xsl:template).

Let me ask a question.  If we introduce a <pcdata> particle, can we 
distinguish whitespace for tag indentation and whitespace that 
maches <pcdata>?

For example, consider an XML document as below:

<a>
  <b/>
  <c/>
  text_data
</a>

Suppose that the content model is "b, followed by c, followed by <pcdata/>".  
What does <pcdata/> match?

Cheers,

Received on Sunday, 19 December 1999 09:10:12 UTC