ZVON
>
References
>
Zvon Example Repository
Intro
/
Search
/
ZVON
Example repository:
index
|
categories
|
search
All
>
Relax NG
>
Simplification - grammar element
> Test 199
Previous sample
|
Next sample
Author:
James Clark
Origin:
Testsuite
for
Relax NG
Elements
Attributes
choice
define
name
|
element
name
|
empty
grammar
group
notAllowed
Incorrect schema
<
choice
xmlns:html="
http://www.w3.org/TR/REC-html40
" xmlns="
http://relaxng.org/ns/structure/1.0
" >
<
element
name
="foo">
<
empty
/>
</
element
>
<
group
>
<
notAllowed
/>
<
grammar
>
<
define
name
="foo">
<
element
name
="foo">
<
empty
/>
</
element
>
</
define
>
</
grammar
>
</
group
>
</
choice
>