[relaxng-user] Interleaving optional elements
MURATA Makoto (FAMILY Given)
EB2M-MRT at asahi-net.or.jp
Wed Apr 21 21:52:56 ICT 2004
On Mon, 19 Apr 2004 18:38:28 -0700
Erik Bruchez <erik at bruchez.org> 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) <EB2M-MRT at asahi-net.or.jp>
More information about the relaxng-user
mailing list