Re: [relax-ng] Mixed and compact syntax

From
Eric van der Vlist <>
Date
2002-07-05T22:47:22+00:00
ID
1025909221.22382.69.camel@ibook
Thread
Re: [relax-ng] Mixed and compact syntax
On Fri, 2002-07-05 at 21:59, John Cowan wrote:

> 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
I realize that it's a basic misunderstanding which I will have to
document in my book: a group isn't something which matches a group in
the instance document (there is no such thing as a group in instance
documents)...

I should have tried it instead of pretending I was a Relax NG processor!

Thanks,

Eric
-- 
See you in San Diego.
                               http://conferences.oreillynet.com/os2002/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------