Re: XSchema Spec Section 2.2, Draft 1

Paul Prescod (papresco@technologist.com)
Thu, 25 Jun 1998 17:36:15 -0400 (EDT)


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