metanorma-standoc 2.2.6 → 2.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metanorma/standoc/base.rb +3 -5
- data/lib/metanorma/standoc/biblio.rng +5 -0
- data/lib/metanorma/standoc/cleanup.rb +17 -17
- data/lib/metanorma/standoc/cleanup_amend.rb +2 -2
- data/lib/metanorma/standoc/cleanup_biblio.rb +2 -1
- data/lib/metanorma/standoc/cleanup_maths.rb +12 -4
- data/lib/metanorma/standoc/cleanup_section.rb +19 -9
- data/lib/metanorma/standoc/cleanup_symbols.rb +14 -7
- data/lib/metanorma/standoc/cleanup_text.rb +10 -4
- data/lib/metanorma/standoc/cleanup_toc.rb +1 -2
- data/lib/metanorma/standoc/cleanup_xref.rb +55 -14
- data/lib/metanorma/standoc/inline.rb +27 -12
- data/lib/metanorma/standoc/isodoc.rng +46 -12
- data/lib/metanorma/standoc/ref_utility.rb +1 -0
- data/lib/metanorma/standoc/render.rb +10 -1
- data/lib/metanorma/standoc/section.rb +10 -3
- data/lib/metanorma/standoc/utils.rb +6 -1
- data/lib/metanorma/standoc/validate.rb +1 -1
- data/lib/metanorma/standoc/version.rb +1 -1
- data/metanorma-standoc.gemspec +5 -2
- metadata +4 -128
- data/.github/workflows/automerge.yml +0 -31
- data/.github/workflows/rake.yml +0 -15
- data/.github/workflows/release.yml +0 -24
- data/Rakefile +0 -8
- data/bin/rspec +0 -18
- data/spec/assets/a1.adoc +0 -8
- data/spec/assets/a2.adoc +0 -10
- data/spec/assets/a3.adoc +0 -9
- data/spec/assets/a3a.adoc +0 -7
- data/spec/assets/a4.adoc +0 -4
- data/spec/assets/boilerplate.xml +0 -4
- data/spec/assets/codes.yml +0 -695
- data/spec/assets/correct.png +0 -0
- data/spec/assets/corrupt.png +0 -0
- data/spec/assets/header.html +0 -7
- data/spec/assets/html-override.css +0 -1
- data/spec/assets/html.scss +0 -13
- data/spec/assets/htmlcover.html +0 -4
- data/spec/assets/htmlintro.html +0 -5
- data/spec/assets/i18n.yaml +0 -17
- data/spec/assets/iso.adoc +0 -10
- data/spec/assets/iso.headless.html +0 -33
- data/spec/assets/iso.xml +0 -8
- data/spec/assets/iso123.rxl +0 -107
- data/spec/assets/rice_image1.png +0 -0
- data/spec/assets/scripts.html +0 -3
- data/spec/assets/std.css +0 -2
- data/spec/assets/word-override.css +0 -1
- data/spec/assets/word.scss +0 -13
- data/spec/assets/wordcover.html +0 -3
- data/spec/assets/wordintro.html +0 -4
- data/spec/assets/xref_error.adoc +0 -8
- data/spec/examples/103_01_02.html +0 -247
- data/spec/examples/codes_table.html +0 -3174
- data/spec/examples/datamodel/address_class_profile.adoc +0 -5
- data/spec/examples/datamodel/address_class_profile.presentation.xml +0 -14
- data/spec/examples/datamodel/address_component_profile.adoc +0 -5
- data/spec/examples/datamodel/blank_definition_profile.adoc +0 -5
- data/spec/examples/datamodel/common_models_diagram.adoc +0 -5
- data/spec/examples/datamodel/models/models/AddressClassProfile.yml +0 -90
- data/spec/examples/datamodel/models/models/AddressComponentProfile.yml +0 -63
- data/spec/examples/datamodel/models/models/AddressComponentSpecification.yml +0 -15
- data/spec/examples/datamodel/models/models/AddressProfile.yml +0 -36
- data/spec/examples/datamodel/models/models/AttributeProfile.yml +0 -32
- data/spec/examples/datamodel/models/models/InterchangeAddressClassProfile.yml +0 -79
- data/spec/examples/datamodel/models/models/Localization copy.yml +0 -23
- data/spec/examples/datamodel/models/models/Localization.yml +0 -23
- data/spec/examples/datamodel/models/models/ProfileCompliantAddress.yml +0 -36
- data/spec/examples/datamodel/models/models/ProfileCompliantAddressComponent.yml +0 -15
- data/spec/examples/datamodel/models/models/Signature.yml +0 -20
- data/spec/examples/datamodel/models/models/SignatureBlankDefinition.yml +0 -20
- data/spec/examples/datamodel/models/models/TextDirectionCode copy.yml +0 -16
- data/spec/examples/datamodel/models/models/TextDirectionCode.yml +0 -16
- data/spec/examples/datamodel/models/models/Validity.yml +0 -14
- data/spec/examples/datamodel/models/models/iso19160-1/Address.yml +0 -22
- data/spec/examples/datamodel/models/models/iso19160-1/AddressComponent.yml +0 -2
- data/spec/examples/datamodel/models/style.uml.inc +0 -37
- data/spec/examples/datamodel/models/views/CommonModels.yml +0 -9
- data/spec/examples/datamodel/models/views/TopDown.yml +0 -62
- data/spec/examples/datamodel/top_down_diagram.adoc +0 -5
- data/spec/examples/english.yaml +0 -69
- data/spec/examples/iso_123_.xml +0 -46
- data/spec/examples/iso_123_all_parts.xml +0 -46
- data/spec/examples/iso_123_no_year_note.xml +0 -47
- data/spec/examples/iso_124_.xml +0 -42
- data/spec/examples/iso_216_.xml +0 -48
- data/spec/examples/iso_iec_12382_.xml +0 -49
- data/spec/examples/rice.adoc +0 -715
- data/spec/examples/rice.preview.html +0 -1877
- data/spec/examples/rice.sh +0 -4
- data/spec/examples/rice_images/rice_image1.png +0 -0
- data/spec/examples/rice_images/rice_image2.png +0 -0
- data/spec/examples/rice_images/rice_image3_1.png +0 -0
- data/spec/examples/rice_images/rice_image3_2.png +0 -0
- data/spec/examples/rice_images/rice_image3_3.png +0 -0
- data/spec/fixtures/action_schemaexpg1.svg +0 -122
- data/spec/fixtures/datamodel_description_sections_tree.xml +0 -327
- data/spec/fixtures/diagram_definitions.lutaml +0 -22
- data/spec/fixtures/macros_datamodel/address_class_profile.xml +0 -149
- data/spec/fixtures/macros_datamodel/address_component_profile.xml +0 -71
- data/spec/fixtures/macros_datamodel/blank_definition_profile.xml +0 -51
- data/spec/fixtures/macros_datamodel/common_models_diagram.xml +0 -7
- data/spec/fixtures/macros_datamodel/top_down_diagram.xml +0 -7
- data/spec/fixtures/test.exp +0 -121
- data/spec/fixtures/test.xmi +0 -9250
- data/spec/metanorma/base_spec.rb +0 -1125
- data/spec/metanorma/biblio_spec.rb +0 -1012
- data/spec/metanorma/blank_spec.rb +0 -37
- data/spec/metanorma/blocks_spec.rb +0 -1784
- data/spec/metanorma/cleanup_blocks_spec.rb +0 -1099
- data/spec/metanorma/cleanup_sections_spec.rb +0 -1849
- data/spec/metanorma/cleanup_spec.rb +0 -1931
- data/spec/metanorma/cleanup_terms_spec.rb +0 -1543
- data/spec/metanorma/datamodel/attributes_table_preprocessor_spec.rb +0 -111
- data/spec/metanorma/datamodel/diagram_preprocessor_spec.rb +0 -72
- data/spec/metanorma/inline_spec.rb +0 -785
- data/spec/metanorma/isobib_cache_spec.rb +0 -742
- data/spec/metanorma/lists_spec.rb +0 -232
- data/spec/metanorma/macros_concept_spec.rb +0 -1052
- data/spec/metanorma/macros_json2text_spec.rb +0 -10
- data/spec/metanorma/macros_plantuml_spec.rb +0 -402
- data/spec/metanorma/macros_spec.rb +0 -1183
- data/spec/metanorma/macros_yaml2text_spec.rb +0 -10
- data/spec/metanorma/processor_spec.rb +0 -96
- data/spec/metanorma/refs_spec.rb +0 -2807
- data/spec/metanorma/reqt_spec.rb +0 -130
- data/spec/metanorma/section_spec.rb +0 -1325
- data/spec/metanorma/table_spec.rb +0 -474
- data/spec/metanorma/validate_spec.rb +0 -886
- data/spec/spec_helper.rb +0 -290
- data/spec/support/shared_examples/structured_data_2_text_preprocessor.rb +0 -781
- data/spec/vcr_cassettes/bsi16341.yml +0 -486
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +0 -611
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +0 -149
- data/spec/vcr_cassettes/hide_refs.yml +0 -587
- data/spec/vcr_cassettes/isobib_get_123.yml +0 -149
- data/spec/vcr_cassettes/isobib_get_123_1.yml +0 -295
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +0 -385
- data/spec/vcr_cassettes/isobib_get_123_2.yml +0 -295
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +0 -149
- data/spec/vcr_cassettes/isobib_get_124.yml +0 -149
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +0 -367
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +0 -560
- data/spec/vcr_cassettes/std-link.yml +0 -149
@@ -1,71 +0,0 @@
|
|
1
|
-
<sections>
|
2
|
-
<clause id='_' inline-header='false' obligation='normative'>
|
3
|
-
<title>AddressComponentProfile</title>
|
4
|
-
<p id='_'>
|
5
|
-
An
|
6
|
-
<tt>AddressComponentProfile</tt>
|
7
|
-
represents a profile of a
|
8
|
-
<tt>ProfileCompliantAddressComponent</tt>
|
9
|
-
, which is extended from the
|
10
|
-
<tt>AddressComponent</tt>
|
11
|
-
model defined in
|
12
|
-
<xref target='ISO19160-1'/>
|
13
|
-
.
|
14
|
-
</p>
|
15
|
-
<p id='_'>
|
16
|
-
It represents additional attributes and restrictions to the
|
17
|
-
<tt>Address</tt>
|
18
|
-
model of a
|
19
|
-
<tt>ProfileCompliantAddress</tt>
|
20
|
-
. It also represents metadata for the use of the profile.
|
21
|
-
</p>
|
22
|
-
<table id='_'>
|
23
|
-
<name>AddressComponentProfile attributes</name>
|
24
|
-
<thead>
|
25
|
-
<tr>
|
26
|
-
<th valign='top' align='left'>Name</th>
|
27
|
-
<th valign='top' align='left'>Definition</th>
|
28
|
-
<th valign='top' align='left'>Mandatory/ Optional/ Conditional</th>
|
29
|
-
<th valign='top' align='left'>Max Occur</th>
|
30
|
-
<th valign='top' align='left'>Data Type</th>
|
31
|
-
</tr>
|
32
|
-
</thead>
|
33
|
-
<tbody>
|
34
|
-
<tr>
|
35
|
-
<td valign='top' align='left'>key</td>
|
36
|
-
<td valign='top' align='left'>
|
37
|
-
An identifier of this
|
38
|
-
<tt>AddressComponentProfile</tt>
|
39
|
-
, shall be unique within the
|
40
|
-
<tt>AddressProfile</tt>
|
41
|
-
.
|
42
|
-
</td>
|
43
|
-
<td valign='top' align='left'>M</td>
|
44
|
-
<td valign='top' align='left'>1</td>
|
45
|
-
<td valign='top' align='left'>
|
46
|
-
<tt>CharacterString</tt>
|
47
|
-
</td>
|
48
|
-
</tr>
|
49
|
-
<tr>
|
50
|
-
<td valign='top' align='left'>description</td>
|
51
|
-
<td valign='top' align='left'>Textual description of this component.</td>
|
52
|
-
<td valign='top' align='left'>M</td>
|
53
|
-
<td valign='top' align='left'>1</td>
|
54
|
-
<td valign='top' align='left'>
|
55
|
-
<tt>CharacterString</tt>
|
56
|
-
</td>
|
57
|
-
</tr>
|
58
|
-
<tr>
|
59
|
-
<td valign='top' align='left'>example</td>
|
60
|
-
<td valign='top' align='left'>A textual example to demonstrate the correct use of this component.</td>
|
61
|
-
<td valign='top' align='left'>O</td>
|
62
|
-
<td valign='top' align='left'>1</td>
|
63
|
-
<td valign='top' align='left'>
|
64
|
-
<tt>CharacterString</tt>
|
65
|
-
</td>
|
66
|
-
</tr>
|
67
|
-
</tbody>
|
68
|
-
</table>
|
69
|
-
</clause>
|
70
|
-
</sections>
|
71
|
-
</standard-document>
|
@@ -1,51 +0,0 @@
|
|
1
|
-
<sections>
|
2
|
-
<clause id='_' inline-header='false' obligation='normative'>
|
3
|
-
<title>Signature</title>
|
4
|
-
<p id='_'>
|
5
|
-
A cryptographic signature used to determine data integrity and validity
|
6
|
-
of the object it belongs to.
|
7
|
-
</p>
|
8
|
-
<table id='_'>
|
9
|
-
<name>Signature attributes</name>
|
10
|
-
<thead>
|
11
|
-
<tr>
|
12
|
-
<th valign='top' align='left'>Name</th>
|
13
|
-
<th valign='top' align='left'>Definition</th>
|
14
|
-
<th valign='top' align='left'>Mandatory/ Optional/ Conditional</th>
|
15
|
-
<th valign='top' align='left'>Max Occur</th>
|
16
|
-
<th valign='top' align='left'>Data Type</th>
|
17
|
-
</tr>
|
18
|
-
</thead>
|
19
|
-
<tbody>
|
20
|
-
<tr>
|
21
|
-
<td valign='top' align='left'>algorithm</td>
|
22
|
-
<td valign='top' align='left'>TODO: enum algorithm’s definition</td>
|
23
|
-
<td valign='top' align='left'>M</td>
|
24
|
-
<td valign='top' align='left'>1</td>
|
25
|
-
<td valign='top' align='left'>
|
26
|
-
<tt>iso14888Oid</tt>
|
27
|
-
</td>
|
28
|
-
</tr>
|
29
|
-
<tr>
|
30
|
-
<td valign='top' align='left'>publicKey</td>
|
31
|
-
<td valign='top' align='left'>TODO: enum publicKey’s definition</td>
|
32
|
-
<td valign='top' align='left'>M</td>
|
33
|
-
<td valign='top' align='left'>1</td>
|
34
|
-
<td valign='top' align='left'>
|
35
|
-
<tt>Uri</tt>
|
36
|
-
</td>
|
37
|
-
</tr>
|
38
|
-
<tr>
|
39
|
-
<td valign='top' align='left'>signature</td>
|
40
|
-
<td valign='top' align='left'>The actual digital signature value encoded in Base64 format.</td>
|
41
|
-
<td valign='top' align='left'>M</td>
|
42
|
-
<td valign='top' align='left'>1</td>
|
43
|
-
<td valign='top' align='left'>
|
44
|
-
<tt>CharacterString</tt>
|
45
|
-
</td>
|
46
|
-
</tr>
|
47
|
-
</tbody>
|
48
|
-
</table>
|
49
|
-
</clause>
|
50
|
-
</sections>
|
51
|
-
</standard-document>
|
data/spec/fixtures/test.exp
DELETED
@@ -1,121 +0,0 @@
|
|
1
|
-
(*
|
2
|
-
$Id: test.exp,v 1.3 2020/07/30 05:18:54 ftanaka Exp $
|
3
|
-
ISO 10303 TC184/SC4/WG12 N10658
|
4
|
-
|
5
|
-
EXPRESS Source:
|
6
|
-
ISO 10303-59 ed3 Quality of product shape data - Annotated 3d model data quality criteria schema
|
7
|
-
|
8
|
-
The following permission notice and disclaimer shall be included in all copies of this EXPRESS schema ("the Schema"),
|
9
|
-
and derivations of the Schema:
|
10
|
-
|
11
|
-
Copyright ISO 2020 All rights reserved
|
12
|
-
Permission is hereby granted, free of charge in perpetuity, to any person obtaining a copy of the Schema,
|
13
|
-
to use, copy, modify, merge and distribute free of charge, copies of the Schema for the purposes of developing,
|
14
|
-
implementing, installing and using software based on the Schema, and to permit persons to whom the Schema is furnished to do so,
|
15
|
-
subject to the following conditions:
|
16
|
-
|
17
|
-
THE SCHEMA IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
18
|
-
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
20
|
-
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
21
|
-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SCHEMA OR THE
|
22
|
-
USE OR OTHER DEALINGS IN THE SCHEMA.
|
23
|
-
|
24
|
-
In addition, any modified copy of the Schema shall include the following notice:
|
25
|
-
|
26
|
-
THIS SCHEMA HAS BEEN MODIFIED FROM THE SCHEMA DEFINED IN
|
27
|
-
ISO 10303-59 ed3 Quality of product shape data - Annotated 3d model data quality criteria schema
|
28
|
-
AND SHOULD NOT BE INTERPRETED AS COMPLYING WITH THAT STANDARD
|
29
|
-
*)
|
30
|
-
|
31
|
-
SCHEMA annotated_3d_model_data_quality_criteria_schema '{iso standard 10303 part(59) version(3) object(1) annotated_3d_model_data_quality_criteria_schema(6)}';
|
32
|
-
|
33
|
-
(* Need select eleemnts for measure_value *)
|
34
|
-
REFERENCE FROM measure_schema
|
35
|
-
(measure_value);
|
36
|
-
|
37
|
-
REFERENCE FROM product_data_quality_criteria_schema
|
38
|
-
(data_quality_criteria_representation,
|
39
|
-
data_quality_criterion,
|
40
|
-
data_quality_measurement_requirement,
|
41
|
-
detailed_report_request_with_number_of_data,
|
42
|
-
summary_report_request);
|
43
|
-
|
44
|
-
REFERENCE FROM representation_schema
|
45
|
-
(representation,
|
46
|
-
representation_item);
|
47
|
-
|
48
|
-
REFERENCE FROM shape_data_quality_criteria_schema
|
49
|
-
(shape_data_quality_assessment_specification_select,
|
50
|
-
shape_measurement_accuracy);
|
51
|
-
|
52
|
-
REFERENCE FROM support_resource_schema
|
53
|
-
(identifier,
|
54
|
-
label,
|
55
|
-
text);
|
56
|
-
|
57
|
-
TYPE a3m_accuracy_associated_target_select = EXTENSIBLE SELECT;
|
58
|
-
END_TYPE;
|
59
|
-
|
60
|
-
TYPE a3m_data_quality_accuracy_type_name = EXTENSIBLE ENUMERATION;
|
61
|
-
END_TYPE;
|
62
|
-
|
63
|
-
TYPE a3m_data_quality_inspected_element_type_name = EXTENSIBLE ENUMERATION;
|
64
|
-
END_TYPE;
|
65
|
-
|
66
|
-
TYPE a3m_data_quality_measured_data_type_name = EXTENSIBLE ENUMERATION;
|
67
|
-
END_TYPE;
|
68
|
-
|
69
|
-
TYPE a3m_data_quality_type_name_for_location_of_extreme_value = EXTENSIBLE ENUMERATION;
|
70
|
-
END_TYPE;
|
71
|
-
|
72
|
-
TYPE summary_stats_value_type = ENUMERATION OF
|
73
|
-
(average_value,
|
74
|
-
max_value,
|
75
|
-
min_value);
|
76
|
-
END_TYPE;
|
77
|
-
|
78
|
-
ENTITY a3m_data_quality_criteria_representation
|
79
|
-
SUBTYPE OF (data_quality_criteria_representation);
|
80
|
-
WHERE
|
81
|
-
WR1: SIZEOF( QUERY( q <* SELF\representation.items|
|
82
|
-
'ANNOTATED_3D_MODEL_DATA_QUALITY_CRITERIA_SCHEMA.' +
|
83
|
-
'A3M_DATA_QUALITY_CRITERION' IN TYPEOF(q))) > 0;
|
84
|
-
END_ENTITY;
|
85
|
-
|
86
|
-
ENTITY a3m_data_quality_criterion
|
87
|
-
ABSTRACT SUPERTYPE
|
88
|
-
SUBTYPE OF(data_quality_criterion, data_quality_measurement_requirement);
|
89
|
-
assessment_specification : shape_data_quality_assessment_specification_select;
|
90
|
-
measured_data_type : a3m_data_quality_measured_data_type_name;
|
91
|
-
inspected_elements_types: LIST[1:?] OF a3m_data_quality_inspected_element_type_name;
|
92
|
-
accuracy_types : LIST [0:?] OF a3m_data_quality_accuracy_type_name;
|
93
|
-
location_of_extreme_value_types: LIST[0:?] OF a3m_data_quality_type_name_for_location_of_extreme_value;
|
94
|
-
END_ENTITY;
|
95
|
-
|
96
|
-
ENTITY a3m_data_quality_criterion_specific_applied_value
|
97
|
-
ABSTRACT SUPERTYPE
|
98
|
-
SUBTYPE OF(representation_item);
|
99
|
-
criterion_to_assign_the_value: a3m_data_quality_criterion;
|
100
|
-
applied_value : measure_value;
|
101
|
-
END_ENTITY;
|
102
|
-
|
103
|
-
ENTITY a3m_data_quality_target_accuracy_association;
|
104
|
-
id : identifier;
|
105
|
-
name : label;
|
106
|
-
description : OPTIONAL text;
|
107
|
-
accuracy_specification : shape_measurement_accuracy;
|
108
|
-
target_to_associate : a3m_accuracy_associated_target_select;
|
109
|
-
END_ENTITY;
|
110
|
-
|
111
|
-
ENTITY a3m_detailed_report_request
|
112
|
-
SUBTYPE OF(detailed_report_request_with_number_of_data);
|
113
|
-
value_type_requested : summary_stats_value_type;
|
114
|
-
END_ENTITY;
|
115
|
-
|
116
|
-
ENTITY a3m_summary_report_request_with_representative_value
|
117
|
-
SUBTYPE OF(summary_report_request);
|
118
|
-
value_type_requested : summary_stats_value_type;
|
119
|
-
END_ENTITY;
|
120
|
-
|
121
|
-
END_SCHEMA;
|