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


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] Attribute Order

[ Lists Home | Date Index | Thread 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:relax-ng-request@lists.oasis-open.org with "subscribe" in the body)
or the RELAX NG comment list
(mailto:relax-ng-comment-request@lists.oasis-open.org with "subscribe" in
the body) if you are not a member. -Mike

-----Original Message-----
From: Jeff Lowery [mailto:jlowery@scenicsoft.com]
Sent: Monday, December 10, 2001 11:30 AM
To: 'Michael Fitzgerald'; xml-dev@lists.xml.org
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.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS