XSchema Spec Section 2.2, Draft 1

Paul Prescod papresco at technologist.com
Thu Jun 25 23:36:49 BST 1998


On Thu, 25 Jun 1998, John Cowan wrote:
> Paul Prescod wrote:
> 
> Treating #PCDATA as an element is problematic because it doesn't have
> delimiters.  Consider models like ((#PCDATA, A) | (#PCDATA, B))
> or (#PCDATA, #PCDATA).

That's no worse than (A|A) and (A*,A). I've not heard any reason to worry 
about ambiguous content models in general. SGML had such a constraint on 
elements but I haven't heard a good defence of the constraint, especially 
in light of the removal of tag minimization.

http://www.sil.org/sgml/topics.html#ambiguity

 Paul Prescod


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list