RELAX NG by Eric van der Vlist will be published by O'Reilly & Associates (ISBN: 0596004214)

You are welcome to use our annotation system to give your feedback.


A Missing pattern - UnorderedGroup

We have seen that the interleave pattern associates two different features and is both an unordered group and something which alters the way sub-groups can be combined together. These two features are not totally independent since mixing child nodes only have a meaning when the order of the sub-groups is not maintained but they are not totally dependent either. In theory it would be possible to define a pattern with a meaning of "unordered group" which would not have the effect of interleaving child nodes and would keep groups unaltered.

While this pattern doesn't exist in RELAX NG, this is for two reasons. First, it helps keep the language as simple as possible. Also, although it is built on top of an abstract mathematical model, RELAX NG is also built on top of the experience of its authors who have wanted to focus on general usages and best practices amongst the XML community. The lack of a "unordered group with no interleaving" hasn't been reported as a real world limitation so far.


You are welcome to use our annotation system to give your feedback.
[Annotations for this page]
All text is copyright Eric van der Vlist, Dyomedea. During development, I give permission for non-commercial copying for educational and review purposes. After publication, all text will be released under the Free Software Foundation GFDL.