OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: [relax-ng] Mixed and compact syntax




>> No, either would be valid.  The point is that the <text/> pattern does
>> match a text node as such; rather it matches ZERO OR MORE text nodes;
>> "text" and "text*" mean the same thing.
>
> I got it, sorry. My confusion was a false assumption that a text pattern
> outside a group couldn't affect something which is "within a group" but

It's interleave that changes this. For example

 x & (y, z)

matches

 y, x, z

as well as

  x, y, z

and

   y, z, x

Also this makes

  x+ & y+

match

 x, y, x

(although it doesn't in SGML.)

Also note that in SGML (#PCDATA) is equivalent to (#PCDATA*).

James



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC