metanorma-bipm 2.4.6 → 2.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/bipm/bipm.brochure.xsl +1382 -899
- data/lib/isodoc/bipm/bipm.guide.xsl +1382 -899
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +1382 -899
- data/lib/isodoc/bipm/bipm.rapport.xsl +1382 -899
- data/lib/isodoc/bipm/html/htmlstyle.css +52 -0
- data/lib/isodoc/bipm/jcgm.standard.xsl +1382 -899
- data/lib/metanorma/bipm/basicdoc.rng +840 -419
- data/lib/metanorma/bipm/biblio.rng +41 -43
- data/lib/metanorma/bipm/bipm.rng +4 -69
- data/lib/metanorma/bipm/isodoc.rng +386 -624
- data/lib/metanorma/bipm/version.rb +1 -1
- metadata +3 -3
@@ -95,7 +95,7 @@
|
|
95
95
|
<text/>
|
96
96
|
</element>
|
97
97
|
</define>
|
98
|
-
<define name="
|
98
|
+
<define name="LocalizedStringAttrs">
|
99
99
|
<optional>
|
100
100
|
<!-- multiple languages and scripts possible: comma delimit them if so -->
|
101
101
|
<attribute name="language"/>
|
@@ -106,6 +106,10 @@
|
|
106
106
|
<optional>
|
107
107
|
<attribute name="script"/>
|
108
108
|
</optional>
|
109
|
+
</define>
|
110
|
+
<define name="LocalizedString1">
|
111
|
+
<!-- multiple languages and scripts possible: comma delimit them if so -->
|
112
|
+
<ref name="LocalizedStringAttrs"/>
|
109
113
|
<text/>
|
110
114
|
</define>
|
111
115
|
<define name="LocalizedString">
|
@@ -118,6 +122,23 @@
|
|
118
122
|
</oneOrMore>
|
119
123
|
</choice>
|
120
124
|
</define>
|
125
|
+
<define name="LocalizedMarkedUpString1">
|
126
|
+
<!-- multiple languages and scripts possible: comma delimit them if so -->
|
127
|
+
<ref name="LocalizedStringAttrs"/>
|
128
|
+
<oneOrMore>
|
129
|
+
<ref name="TextElement"/>
|
130
|
+
</oneOrMore>
|
131
|
+
</define>
|
132
|
+
<define name="LocalizedMarkedUpString">
|
133
|
+
<choice>
|
134
|
+
<ref name="LocalizedMarkedUpString1"/>
|
135
|
+
<oneOrMore>
|
136
|
+
<element name="variant">
|
137
|
+
<ref name="LocalizedMarkedUpString1"/>
|
138
|
+
</element>
|
139
|
+
</oneOrMore>
|
140
|
+
</choice>
|
141
|
+
</define>
|
121
142
|
<!--
|
122
143
|
Unlike UML, change type to format: type is overloaded
|
123
144
|
Would be need if plain were default value and could omit the attribute
|
@@ -142,16 +163,8 @@
|
|
142
163
|
<ref name="LocalizedStringOrXsAny"/>
|
143
164
|
</define>
|
144
165
|
<define name="LocalizedStringOrXsAny1">
|
145
|
-
|
146
|
-
|
147
|
-
<attribute name="language"/>
|
148
|
-
</optional>
|
149
|
-
<optional>
|
150
|
-
<attribute name="locale"/>
|
151
|
-
</optional>
|
152
|
-
<optional>
|
153
|
-
<attribute name="script"/>
|
154
|
-
</optional>
|
166
|
+
<!-- multiple languages and scripts possible: comma delimit them if so -->
|
167
|
+
<ref name="LocalizedStringAttrs"/>
|
155
168
|
<oneOrMore>
|
156
169
|
<choice>
|
157
170
|
<text/>
|
@@ -208,9 +221,7 @@
|
|
208
221
|
</define>
|
209
222
|
<define name="roledescription">
|
210
223
|
<element name="description">
|
211
|
-
<
|
212
|
-
<ref name="TextElement"/>
|
213
|
-
</oneOrMore>
|
224
|
+
<ref name="LocalizedMarkedUpString"/>
|
214
225
|
</element>
|
215
226
|
</define>
|
216
227
|
<define name="person">
|
@@ -335,9 +346,7 @@
|
|
335
346
|
</define>
|
336
347
|
<define name="affiliationdescription">
|
337
348
|
<element name="description">
|
338
|
-
<
|
339
|
-
<ref name="TextElement"/>
|
340
|
-
</oneOrMore>
|
349
|
+
<ref name="LocalizedMarkedUpString"/>
|
341
350
|
</element>
|
342
351
|
</define>
|
343
352
|
<define name="organization">
|
@@ -386,7 +395,7 @@
|
|
386
395
|
</define>
|
387
396
|
<define name="logo">
|
388
397
|
<element name="logo">
|
389
|
-
<ref name="image"/>
|
398
|
+
<ref name="image-no-id"/>
|
390
399
|
</element>
|
391
400
|
</define>
|
392
401
|
<define name="depiction">
|
@@ -395,7 +404,7 @@
|
|
395
404
|
<attribute name="scope"/>
|
396
405
|
</optional>
|
397
406
|
<zeroOrMore>
|
398
|
-
<ref name="image"/>
|
407
|
+
<ref name="image-no-id"/>
|
399
408
|
</zeroOrMore>
|
400
409
|
</element>
|
401
410
|
</define>
|
@@ -948,9 +957,7 @@
|
|
948
957
|
<optional>
|
949
958
|
<attribute name="type"/>
|
950
959
|
</optional>
|
951
|
-
<
|
952
|
-
<ref name="TextElement"/>
|
953
|
-
</zeroOrMore>
|
960
|
+
<ref name="LocalizedMarkedUpString"/>
|
954
961
|
</define>
|
955
962
|
<!-- TitleType = ( "alternative" | "original" | "unofficial" | "subtitle" | "main" ) -->
|
956
963
|
<define name="TypedUri">
|
@@ -1041,18 +1048,7 @@
|
|
1041
1048
|
<data type="boolean"/>
|
1042
1049
|
</attribute>
|
1043
1050
|
</optional>
|
1044
|
-
<
|
1045
|
-
<attribute name="language"/>
|
1046
|
-
</optional>
|
1047
|
-
<optional>
|
1048
|
-
<attribute name="locale"/>
|
1049
|
-
</optional>
|
1050
|
-
<optional>
|
1051
|
-
<attribute name="script"/>
|
1052
|
-
</optional>
|
1053
|
-
<oneOrMore>
|
1054
|
-
<ref name="TextElement"/>
|
1055
|
-
</oneOrMore>
|
1051
|
+
<ref name="LocalizedMarkedUpString"/>
|
1056
1052
|
</element>
|
1057
1053
|
</define>
|
1058
1054
|
<define name="docnumber">
|
@@ -1277,16 +1273,20 @@
|
|
1277
1273
|
<optional>
|
1278
1274
|
<attribute name="type"/>
|
1279
1275
|
</optional>
|
1280
|
-
<
|
1281
|
-
<ref name="TextElement"/>
|
1282
|
-
</oneOrMore>
|
1276
|
+
<ref name="LocalizedMarkedUpString"/>
|
1283
1277
|
</element>
|
1284
1278
|
</define>
|
1285
1279
|
<define name="bibabstract">
|
1286
1280
|
<element name="abstract">
|
1287
|
-
<
|
1288
|
-
|
1289
|
-
|
1281
|
+
<ref name="LocalizedStringAttrs"/>
|
1282
|
+
<choice>
|
1283
|
+
<oneOrMore>
|
1284
|
+
<ref name="BasicBlockNoId"/>
|
1285
|
+
</oneOrMore>
|
1286
|
+
<oneOrMore>
|
1287
|
+
<ref name="TextElement"/>
|
1288
|
+
</oneOrMore>
|
1289
|
+
</choice>
|
1290
1290
|
</element>
|
1291
1291
|
</define>
|
1292
1292
|
<define name="copyright">
|
@@ -1391,9 +1391,7 @@
|
|
1391
1391
|
</attribute>
|
1392
1392
|
<optional>
|
1393
1393
|
<element name="description">
|
1394
|
-
<
|
1395
|
-
<ref name="TextElement"/>
|
1396
|
-
</oneOrMore>
|
1394
|
+
<ref name="LocalizedMarkedUpString"/>
|
1397
1395
|
</element>
|
1398
1396
|
</optional>
|
1399
1397
|
<element name="bibitem">
|
data/lib/metanorma/bipm/bipm.rng
CHANGED
@@ -81,82 +81,17 @@
|
|
81
81
|
</zeroOrMore>
|
82
82
|
</group>
|
83
83
|
</define>
|
84
|
-
<define name="Annex-Section">
|
85
|
-
<optional>
|
86
|
-
<attribute name="id">
|
87
|
-
<data type="ID"/>
|
88
|
-
</attribute>
|
89
|
-
</optional>
|
90
|
-
<optional>
|
91
|
-
<attribute name="language"/>
|
92
|
-
</optional>
|
93
|
-
<optional>
|
94
|
-
<attribute name="script"/>
|
95
|
-
</optional>
|
96
|
-
<optional>
|
97
|
-
<attribute name="inline-header">
|
98
|
-
<data type="boolean"/>
|
99
|
-
</attribute>
|
100
|
-
</optional>
|
101
|
-
<optional>
|
102
|
-
<attribute name="obligation">
|
103
|
-
<choice>
|
104
|
-
<value>normative</value>
|
105
|
-
<value>informative</value>
|
106
|
-
</choice>
|
107
|
-
</attribute>
|
108
|
-
</optional>
|
84
|
+
<define name="Annex-Section-Attr" combine="interleave">
|
109
85
|
<optional>
|
110
86
|
<attribute name="unnumbered">
|
111
87
|
<data type="boolean"/>
|
112
88
|
</attribute>
|
113
89
|
</optional>
|
90
|
+
</define>
|
91
|
+
<define name="OlAttr" combine="interleave">
|
114
92
|
<optional>
|
115
|
-
<
|
93
|
+
<attribute name="start"/>
|
116
94
|
</optional>
|
117
|
-
<group>
|
118
|
-
<zeroOrMore>
|
119
|
-
<ref name="BasicBlock"/>
|
120
|
-
</zeroOrMore>
|
121
|
-
<zeroOrMore>
|
122
|
-
<choice>
|
123
|
-
<ref name="annex-subsection"/>
|
124
|
-
<ref name="terms"/>
|
125
|
-
<ref name="definitions"/>
|
126
|
-
<ref name="references"/>
|
127
|
-
<ref name="floating-title"/>
|
128
|
-
</choice>
|
129
|
-
</zeroOrMore>
|
130
|
-
</group>
|
131
|
-
</define>
|
132
|
-
<define name="ol">
|
133
|
-
<element name="ol">
|
134
|
-
<attribute name="id">
|
135
|
-
<data type="ID"/>
|
136
|
-
</attribute>
|
137
|
-
<ref name="BlockAttributes"/>
|
138
|
-
<attribute name="type">
|
139
|
-
<choice>
|
140
|
-
<value>roman</value>
|
141
|
-
<value>alphabet</value>
|
142
|
-
<value>arabic</value>
|
143
|
-
<value>roman_upper</value>
|
144
|
-
<value>alphabet_upper</value>
|
145
|
-
</choice>
|
146
|
-
</attribute>
|
147
|
-
<optional>
|
148
|
-
<attribute name="start"/>
|
149
|
-
</optional>
|
150
|
-
<optional>
|
151
|
-
<ref name="tname"/>
|
152
|
-
</optional>
|
153
|
-
<oneOrMore>
|
154
|
-
<ref name="li"/>
|
155
|
-
</oneOrMore>
|
156
|
-
<zeroOrMore>
|
157
|
-
<ref name="note"/>
|
158
|
-
</zeroOrMore>
|
159
|
-
</element>
|
160
95
|
</define>
|
161
96
|
</include>
|
162
97
|
<define name="bipm-standard">
|