metanorma-ogc 2.6.12 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +369 -101
- data/lib/isodoc/ogc/ogc.best-practice.xsl +369 -101
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +369 -101
- data/lib/isodoc/ogc/ogc.community-practice.xsl +369 -101
- data/lib/isodoc/ogc/ogc.community-standard.xsl +369 -101
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +369 -101
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +369 -101
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +369 -101
- data/lib/isodoc/ogc/ogc.other.xsl +369 -101
- data/lib/isodoc/ogc/ogc.policy.xsl +369 -101
- data/lib/isodoc/ogc/ogc.reference-model.xsl +369 -101
- data/lib/isodoc/ogc/ogc.release-notes.xsl +369 -101
- data/lib/isodoc/ogc/ogc.standard.xsl +369 -101
- data/lib/isodoc/ogc/ogc.test-suite.xsl +369 -101
- data/lib/isodoc/ogc/ogc.user-guide.xsl +369 -101
- data/lib/isodoc/ogc/ogc.white-paper.xsl +346 -78
- data/lib/isodoc/ogc/sections.rb +4 -0
- data/lib/metanorma/ogc/converter.rb +2 -2
- data/lib/metanorma/ogc/isodoc.rng +12 -6
- data/lib/metanorma/ogc/ogc.rng +28 -30
- data/lib/metanorma/ogc/version.rb +1 -1
- data/metanorma-ogc.gemspec +1 -1
- metadata +4 -4
data/lib/isodoc/ogc/sections.rb
CHANGED
@@ -11,8 +11,8 @@ module Metanorma
|
|
11
11
|
# schema encapsulation of the document for validation
|
12
12
|
#
|
13
13
|
class Converter < Standoc::Converter
|
14
|
-
XML_ROOT_TAG = "ogc-standard".freeze
|
15
|
-
XML_NAMESPACE = "https://www.metanorma.org/ns/ogc".freeze
|
14
|
+
#XML_ROOT_TAG = "ogc-standard".freeze
|
15
|
+
#XML_NAMESPACE = "https://www.metanorma.org/ns/ogc".freeze
|
16
16
|
|
17
17
|
register_for "ogc"
|
18
18
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
these elements; we just want one namespace for any child grammars
|
18
18
|
of this.
|
19
19
|
-->
|
20
|
-
<!-- VERSION
|
20
|
+
<!-- VERSION v2.0.0 -->
|
21
21
|
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
22
22
|
<include href="reqt.rng"/>
|
23
23
|
<include href="basicdoc.rng">
|
@@ -459,11 +459,14 @@ gives an explicit page orientation</a:documentation>
|
|
459
459
|
<a:documentation>Description of location in a reference, which can be combined with other locations in a single citation</a:documentation>
|
460
460
|
</ref>
|
461
461
|
</zeroOrMore>
|
462
|
-
<
|
463
|
-
<
|
462
|
+
<optional>
|
463
|
+
<element name="display-text">
|
464
464
|
<a:documentation>The textual content of the element. The `text` is what we wish to show the link as (e.g., the "content" of `<xx>my link text</xx>`)</a:documentation>
|
465
|
-
|
466
|
-
|
465
|
+
<oneOrMore>
|
466
|
+
<ref name="PureTextElement"/>
|
467
|
+
</oneOrMore>
|
468
|
+
</element>
|
469
|
+
</optional>
|
467
470
|
</define>
|
468
471
|
</include>
|
469
472
|
<!-- end overrides -->
|
@@ -1205,10 +1208,13 @@ numbers</a:documentation>
|
|
1205
1208
|
<value>presentation</value>
|
1206
1209
|
</choice>
|
1207
1210
|
</attribute>
|
1211
|
+
<attribute name="flavor">
|
1212
|
+
<a:documentation>Metanorma flavor, indicating SDO whose requiremnts the realisation aligns to</a:documentation>
|
1213
|
+
</attribute>
|
1208
1214
|
</define>
|
1209
1215
|
<define name="standard-document">
|
1210
1216
|
<a:documentation>Representation of a standardisation document</a:documentation>
|
1211
|
-
<element name="
|
1217
|
+
<element name="metanorma">
|
1212
1218
|
<ref name="Root-Attributes"/>
|
1213
1219
|
<ref name="bibdata">
|
1214
1220
|
<a:documentation>Bibliographic description of the document itself, expressed in the Relaton model</a:documentation>
|
data/lib/metanorma/ogc/ogc.rng
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<grammar ns='https://www.metanorma.org/ns/
|
2
|
+
<grammar ns='https://www.metanorma.org/ns/standoc' xmlns="http://relaxng.org/ns/structure/1.0">
|
3
3
|
<!--
|
4
4
|
VERSION v1.2.1
|
5
5
|
Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
|
@@ -8,9 +8,6 @@
|
|
8
8
|
-->
|
9
9
|
<include href="relaton-ogc.rng"/>
|
10
10
|
<include href="isodoc.rng">
|
11
|
-
<start>
|
12
|
-
<ref name="ogc-standard"/>
|
13
|
-
</start>
|
14
11
|
<define name="preface">
|
15
12
|
<element name="preface">
|
16
13
|
<optional>
|
@@ -22,7 +19,34 @@
|
|
22
19
|
</optional>
|
23
20
|
</element>
|
24
21
|
</define>
|
22
|
+
<define name="standard-document">
|
23
|
+
<element name="metanorma">
|
24
|
+
<ref name="Root-Attributes"/>
|
25
|
+
<ref name="bibdata"/>
|
26
|
+
<zeroOrMore>
|
27
|
+
<ref name="termdocsource"/>
|
28
|
+
</zeroOrMore>
|
29
|
+
<optional>
|
30
|
+
<ref name="misccontainer"/>
|
31
|
+
</optional>
|
32
|
+
<optional>
|
33
|
+
<ref name="boilerplate"/>
|
34
|
+
</optional>
|
35
|
+
<ref name="preface"/>
|
36
|
+
<oneOrMore>
|
37
|
+
<ref name="sections"/>
|
38
|
+
</oneOrMore>
|
39
|
+
<zeroOrMore>
|
40
|
+
<ref name="annex"/>
|
41
|
+
</zeroOrMore>
|
42
|
+
<ref name="bibliography"/>
|
43
|
+
<zeroOrMore>
|
44
|
+
<ref name="indexsect"/>
|
45
|
+
</zeroOrMore>
|
46
|
+
</element>
|
47
|
+
</define>
|
25
48
|
</include>
|
49
|
+
<!-- end overrides -->
|
26
50
|
<define name="TextElement" combine="choice">
|
27
51
|
<ref name="hi"/>
|
28
52
|
</define>
|
@@ -44,30 +68,4 @@
|
|
44
68
|
<ref name="Basic-Section"/>
|
45
69
|
</element>
|
46
70
|
</define>
|
47
|
-
<define name="ogc-standard">
|
48
|
-
<element name="ogc-standard">
|
49
|
-
<ref name="Root-Attributes"/>
|
50
|
-
<ref name="bibdata"/>
|
51
|
-
<zeroOrMore>
|
52
|
-
<ref name="termdocsource"/>
|
53
|
-
</zeroOrMore>
|
54
|
-
<optional>
|
55
|
-
<ref name="misccontainer"/>
|
56
|
-
</optional>
|
57
|
-
<optional>
|
58
|
-
<ref name="boilerplate"/>
|
59
|
-
</optional>
|
60
|
-
<ref name="preface"/>
|
61
|
-
<oneOrMore>
|
62
|
-
<ref name="sections"/>
|
63
|
-
</oneOrMore>
|
64
|
-
<zeroOrMore>
|
65
|
-
<ref name="annex"/>
|
66
|
-
</zeroOrMore>
|
67
|
-
<ref name="bibliography"/>
|
68
|
-
<zeroOrMore>
|
69
|
-
<ref name="indexsect"/>
|
70
|
-
</zeroOrMore>
|
71
|
-
</element>
|
72
|
-
</define>
|
73
71
|
</grammar>
|
data/metanorma-ogc.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.required_ruby_version = Gem::Requirement.new(">= 3.1.0")
|
27
27
|
|
28
28
|
spec.add_dependency "iso-639"
|
29
|
-
spec.add_dependency "metanorma-standoc", "~>
|
29
|
+
spec.add_dependency "metanorma-standoc", "~> 3.0.0"
|
30
30
|
|
31
31
|
spec.add_development_dependency "debug"
|
32
32
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ogc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: iso-639
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 3.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 3.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: debug
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|