Skip to content

Commit e179254

Browse files
committed
Machinery task validates
1 parent 5e2c547 commit e179254

File tree

1 file changed

+104
-0
lines changed
  • docs/rng-converter-userguide/rng-tutorial/resources/local-rng-shells/machineryIndustry/rng

1 file changed

+104
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<?xml-model href="urn:oasis:names:tc:dita:rng:checkShell.sch" schematypens="http://purl.oclc.org/dsdl/schematron"?>
3+
<?xml-model href="urn:oasis:names:tc:dita:rng:vocabularyModuleDesc.rng"
4+
schematypens="http://relaxng.org/ns/structure/1.0"?>
5+
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
6+
xmlns:dita="http://dita.oasis-open.org/architecture/2005/"
7+
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">
8+
<moduleDesc xmlns="http://dita.oasis-open.org/architecture/2005/">
9+
<moduleTitle>DITA Machinery Task Shell</moduleTitle>
10+
<headerComment xml:space="preserve">
11+
=============================================================
12+
HEADER
13+
=============================================================
14+
Local shell for example.com
15+
16+
Machinery Task
17+
=============================================================
18+
</headerComment>
19+
<moduleMetadata>
20+
<moduleType>topicshell</moduleType>
21+
<moduleShortName>Machinery Task</moduleShortName>
22+
<shellPublicIds>
23+
<dtdShell>-//OASIS//DTD DITA<var presep=" " name="ditaver"/> Machinery Task//EN</dtdShell>
24+
<rncShell>urn:pubid:example.com:dita:spec:machinery:rnc:machinerytask.rnc<var presep=":" name="ditaver"/></rncShell>
25+
<rngShell>urn:pubid:example.com:dita:spec:machinery:rng:machinerytask.rng<var presep=":" name="ditaver"/></rngShell>
26+
<xsdShell>urn:pubid:example.com:dita:spec:machinery:xsd:machinerytask.xsd<var presep=":" name="ditaver"/></xsdShell>
27+
</shellPublicIds>
28+
</moduleMetadata>
29+
</moduleDesc>
30+
<div>
31+
<a:documentation>ROOT ELEMENT DECLARATION</a:documentation>
32+
<start>
33+
<ref name="task.element"/>
34+
</start>
35+
</div>
36+
<div>
37+
<a:documentation>DOMAINS ATTRIBUTE</a:documentation>
38+
<define name="domains-att" combine="interleave">
39+
<optional>
40+
<attribute name="domains"
41+
a:defaultValue="(topic hazard-d)
42+
(topic hi-d)
43+
(topic indexing-d)
44+
(topic svg-d)
45+
(topic task taskreq-d)
46+
(topic task)
47+
(topic task+taskreq-d machineryTaskbody-c)
48+
(topic ui-d)
49+
(topic ut-d)
50+
a(props deliveryTarget)"/>
51+
</optional>
52+
</define>
53+
54+
</div>
55+
<div>
56+
<a:documentation>CONTENT CONSTRAINT INTEGRATION</a:documentation>
57+
58+
<include href="urn:oasis:names:tc:dita:spec:machinery:rng:machineryTaskbodyConstraintMod.rng">
59+
<define name="task-info-types">
60+
<ref name="task.element"/>
61+
</define>
62+
</include>
63+
64+
</div>
65+
<div>
66+
<a:documentation>MODULE INCLUSIONS</a:documentation>
67+
68+
<include href="urn:oasis:names:tc:dita:rng:topicMod.rng"/>
69+
70+
<include href="urn:oasis:names:tc:dita:rng:deliveryTargetAttDomain.rng"/>
71+
<include href="urn:oasis:names:tc:dita:rng:hazardDomain.rng"/>
72+
<include href="urn:oasis:names:tc:dita:rng:highlightDomain.rng"/>
73+
<include href="urn:oasis:names:tc:dita:rng:indexingDomain.rng"/>
74+
<include href="urn:oasis:names:tc:dita:rng:svgDomain.rng"/>
75+
<include href="urn:oasis:names:tc:dita:rng:taskreqDomain.rng"/>
76+
<include href="urn:oasis:names:tc:dita:rng:uiDomain.rng"/>
77+
<include href="urn:oasis:names:tc:dita:rng:utilitiesDomain.rng"/>
78+
</div>
79+
<div>
80+
<a:documentation>ID-DEFINING-ELEMENT OVERRIDES</a:documentation>
81+
<define name="any">
82+
<zeroOrMore>
83+
<choice>
84+
<ref name="task.element"/>
85+
<element>
86+
<anyName>
87+
<except>
88+
<name>task</name>
89+
<nsName ns="http://www.w3.org/2000/svg"/>
90+
</except>
91+
</anyName>
92+
<zeroOrMore>
93+
<attribute>
94+
<anyName/>
95+
</attribute>
96+
</zeroOrMore>
97+
<ref name="any"/>
98+
</element>
99+
<text/>
100+
</choice>
101+
</zeroOrMore>
102+
</define>
103+
</div>
104+
</grammar>

0 commit comments

Comments
 (0)