Example repository:
index | >> categories << | search
All >
Relax NG >
Restrictions - restrictions on interleave
Test 359
(
You cannot interleave elements which have the same name.
)
Test 360
(
You cannot interleave elements which have the same name.
)
Test 361
(
You cannot interleave elements which have the same name.
)
Test 362
(
You cannot interleave elements which have the same name.
)
Test 363
(
You cannot interleave elements which have the same name.
)
Test 364
(
You cannot interleave elements which have the same name.
(in this case, the nsName element covers "bar" element too).
)
Test 365
(
You cannot interleave elements which have the same name.
(in this case, the anyName element covers "bar" element too).
)
Test 366
(
You cannot interleave elements which have the same name.
If notAllowed element is a child of element
element, it is not normalized (and thus the element is
not removed).
)
Test 367
(
Schema is correct, because there is no conflict.
Root element "foo" must contain
"bar" element and any element, except "bar" element.
Order is not important.
)
Test 368
(
Schema is correct - there is no name conflict.
Root element "foo" must contain element "baz"
and element "bar". Element "bar" can be either empty
or can contain a text.
)