Example repository:
index | >> categories << | search
All >
Relax NG >
Simplification - combine attribute
Test 185
(
For each grammar element, all
define elements with the same name are combined
together.
There must not be more than one
define element with that name that does not have a
combine attribute.
)
Test 186
(
Hmm, start element cannot have
name attribute.
)
Test 187
(
For each grammar element, all
define elements with the same name are combined
together.
There must not be more than one
define element with that name that does not have a
combine attribute.
)
Test 188
(
Hmm, start element cannot have
name attribute.
)
Test 189
(
For each grammar element, all
define elements with the same name are combined
together.
Here the combine attribute has value "choice"
and thus the root element can be only
"foo1", "foo2", or "foo3", but not "foo4".
)
Test 190
(
For each grammar element, all
start elements with the same name are combined
together.
Here the combine attribute has value "choice"
and thus the root element can be only
"foo1", "foo2", or "foo3", but not "foo4".
)
Test 191
(
If there is a define element that has a combine
attribute with the value "choice", there must not
also be a define element (with the same name attribute)
that has a combine attribute with the value
interleave.
)
Test 192
(
If there is a start element that has a combine
attribute with the value "choice", there must not
also be a start element
that has a combine attribute with the value
interleave.
)
Test 193
(
For each grammar element, all
define elements with the same name are combined
together.
Here the combine attribute has value "interleave",
so the elements
"foo1", "foo2", and "foo3" can be interleaved.
)
Test 194
(
For each grammar element, all
define elements with the same name are combined
together.
Here the combine attribute has value "interleave",
so the elements
"foo1", "foo2", and "foo3" can be interleaved.
)
Test 195
(
For each grammar element, all
define elements with the same name are combined
together.
There must not be more than one
define element with that name that does not have a
combine attribute.
)
Test 196
(
For each grammar element, all
start elements are combined together.
There must not be more than one
start element with that name that does not have a
combine attribute.
)