Lists Home |
Date Index |
If you send an example of the pattern you are trying to match, I might be
able to tell you if it can be represented by a RELAX NG schema. I am happy
to take a whack at it. If you want, you can submit your comments to one of
the RELAX NG lists.
If you are an OASIS member, you can subscribe to the RELAX NG list
(mailto:firstname.lastname@example.org with "subscribe" in the body)
or the RELAX NG comment list
(mailto:email@example.com with "subscribe" in
the body) if you are not a member. -Mike
From: Jeff Lowery [mailto:firstname.lastname@example.org]
Sent: Monday, December 10, 2001 11:30 AM
To: 'Michael Fitzgerald'; email@example.com
Subject: RE: [xml-dev] Attribute Order
I realize that this is just the tutorial, but it states:
The semantics of the interleave pattern are that a sequence of elements
matches an interleave pattern if it is an interleaving of sequences that
match the child patterns of the interleave pattern. Note that this is
different from the & connector in SGML: A* & B matches the sequence of
elements A A B or the sequence of elements B A A but not the sequence of
elements A B A.
My reading of the above is that if the interleaved child pattern is a
sequence, then it seems that it can be interleaved with unordered content,
but not broken up.
I'd be happy if RELAX NG separated out the orthogonal constraint of order
from that of contiguity; i.e., items can be ordered and contiguous, ordered
and discontiguous, unordered and contiguous, or unordered and discontiguous.
I haven't done a careful reading of the RELAX NG spec, but I don't think it
does. I know XML Schema doesn't.