[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [relax-ng-comment] Definition of mixed pattern?
In a DTD a mixed pattern is usually defined by something like:
<!ELEMENT body (#PCDATA | font)*>
The 1.0 specification (4.13) defines:
<mixed> <ref name="font"/> </mixed>
as equivalent to:
<interleave> <ref name="font"/> <text> </interleave>
Hoever, this does not allow instances like
<body>Some text<font/>some other text</body>
Surely mixed should be defined as something like:
<zeroOrMore>
<choice>
<text>
<ref name="font"/>
</choice>
</zeroOrMore>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC