blob: e3f4d86d3a50cccdb9dc01eae5db98e73d7fbc72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
xmlns:a="http://freeipa.org/xml/rng/ns/annotations/1.0">
<a:doc> posixGroup configuration</a:doc>
<start ns="http://freeipa.org/xml/rng/posixGroup/1.0">
<element name="posixGroup">
<ref name="options"/>
<ref name="anyElement"/>
</element>
</start>
<define name="options">
<zeroOrMore>
<choice>
<attribute name="gids">
<text/>
</attribute>
</choice>
</zeroOrMore>
</define>
<!--
This allows anything in another namespace.
The way nsName works requires that this be in each schema (grammar);
it cannot be included.
-->
<define name="anyElement">
<element>
<anyName>
<except>
<nsName/>
<nsName ns=""/>
</except>
</anyName>
<zeroOrMore>
<choice>
<attribute>
<anyName/>
</attribute>
<text/>
<ref name="anyElement"/>
</choice>
</zeroOrMore>
</element>
</define>
</grammar>
|