-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathp5.nvdl
128 lines (101 loc) · 3.29 KB
/
p5.nvdl
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?xml version="1.0" encoding="UTF-8"?>
<rules xmlns="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0" startMode="tei">
<mode name="nested">
<!-- foreign namespaces used in TEI -->
<namespace ns="http://www.ascc.net/xml/schematron">
<validate schema="schematron.rng"/>
<attach useMode="allow"/>
</namespace>
<namespace ns="http://purl.oclc.org/dsdl/schematron">
<validate schema="iso-schematron.rng"/>
<attach useMode="allow"/>
</namespace>
<namespace ns="http://www.w3.org/1998/Math/MathML">
<validate schema="Exemplars/mathml2.rng"/>
<attach useMode="allow"/>
</namespace>
<namespace ns="http://relaxng.org/ns/structure/1.0">
<validate schema="relax.rng"/>
<attach useMode="allow"/>
</namespace>
<namespace ns="http://www.w3.org/2000/svg">
<validate schema="Exemplars/svg.rng"/>
<attach useMode="allow"/>
<allow/>
</namespace>
<namespace ns="http://relaxng.org/ns/compatibility/annotations/1.0">
<allow/>
</namespace>
<!-- allow for proposals in a dedicated namespace as per https://github.com/TEIC/TEI/issues/1626 -->
<namespace ns="http://www.tei-c.org/ns/*.proposal" wildCard="*">
<allow/>
</namespace>
<!-- TEI examples -->
<namespace ns="http://www.tei-c.org/ns/Examples">
<!-- Validate <teix:egXML> against examples schema … -->
<validate schema="p5odds-examples.rng" useMode="nested">
<!-- … using the jing -f switch … -->
<option name="http://www.thaiopensource.com/validate/feasible"/>
<!-- … except allow *anything* inside <teix:constraintDecl>. -->
<context path="constraintDecl" useMode="ANY"/>
</validate>
<attach useMode="allow"/>
</namespace>
<!-- allow XInclude without checking -->
<namespace ns="http://www.w3.org/2001/XInclude">
<allow/>
</namespace>
<!-- just used in examples, allow anything -->
<namespace ns="http://purl.org/dc/elements/1.1/">
<allow/>
</namespace>
<namespace ns="http://www.openarchives.org/OAI/2.0/oai_dc/">
<allow/>
</namespace>
<namespace ns="http://www.loc.gov/mods/v3">
<allow/>
</namespace>
<namespace ns="http://www.w3.org/1999/xhtml">
<allow/>
</namespace>
<namespace ns="http://www.w3.org/2001/SMIL20/Language">
<allow/>
</namespace>
<namespace ns="http://www.opengis.net/gml">
<allow/>
</namespace>
<namespace ns="http://www.example.org/ns/nonTEI">
<allow/>
</namespace>
<namespace ns="">
<allow/>
</namespace>
<namespace ns="http://www.gram.org">
<allow/>
</namespace>
<namespace ns="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<allow/>
</namespace>
<namespace ns="http://web.resource.org/cc/">
<allow/>
</namespace>
</mode>
<mode name="tei">
<namespace ns="http://www.tei-c.org/ns/1.0">
<validate schema="p5odds.isosch" useMode="nested"/>
<validate schema="p5odds.rng" useMode="nested">
<context path="constraintDecl" useMode="ANY"/>
</validate>
</namespace>
</mode>
<mode name="allow">
<anyNamespace>
<attach/>
</anyNamespace>
</mode>
<mode name="ANY">
<anyNamespace>
<allow/>
</anyNamespace>
</mode>
</rules>