W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 1999

Re: content="mixed"

From: Murata Makoto <mura034@attglobal.net>
Date: Sun, 19 Dec 1999 23:10:13 +0900
Message-Id: <199912191410.AA01331@makoto.attglobal.net>
To: www-xml-schema-comments@w3.org, jjc@jclark.com
Cc: mura034@attglobal.net
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

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:


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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:45 UTC