Re: Interleaving optional elements
"MURATA Makoto (FAMILY Given)" <[email protected]> Wed, 21 Apr 2004 21:52:56 +0900
| Newsgroups | gmane.text.xml.relaxng.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 19 Apr 2004 18:38:28 -0700 Erik Bruchez <[email protected]> wrote: > > Is the following Relax NG fragment supposed to work? I don't see any > reason why it shouldn't but MSV gives me the following error: No, it should not work. > more than one branch of <interleave> accepts the element "property" This means that the first constraint in 7.4 of the RNG spec is not satisfied. http://www.oasis-open.org/committees/relax-ng/spec-20011203.html#interleave-restrictions The motivation for this restriction is to make implementations easier. In particular, it helps implementation of data binding tools and boolean operations. How about changing <interleave> with <group>? Cheers, -- MURATA Makoto (FAMILY Given) <[email protected]>