Skip to content

Commit 752ff65

Browse files
committed
feat: fix some specs and add tests
1 parent 9bb1803 commit 752ff65

File tree

76 files changed

+10531
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+10531
-63
lines changed

lib/reqif/alternative_id.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class AlternativeId < Lutaml::Model::Serializable
66

77
xml do
88
root "ALTERNATIVE-ID"
9-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
9+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1010

1111
map_attribute "IDENTIFIER", to: :identifier
1212
end

lib/reqif/attribute_definition_boolean.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AttributeDefinitionBoolean < Lutaml::Model::Serializable
1313

1414
xml do
1515
root "ATTRIBUTE-DEFINITION-BOOLEAN"
16-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
16+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1717

1818
map_attribute "DESC", to: :desc
1919
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/attribute_definition_date.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AttributeDefinitionDate < Lutaml::Model::Serializable
1313

1414
xml do
1515
root "ATTRIBUTE-DEFINITION-DATE"
16-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
16+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1717

1818
map_attribute "DESC", to: :desc
1919
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/attribute_definition_enumeration.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class AttributeDefinitionEnumeration < Lutaml::Model::Serializable
1414

1515
xml do
1616
root "ATTRIBUTE-DEFINITION-ENUMERATION"
17-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
17+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1818

1919
map_attribute "DESC", to: :desc
2020
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/attribute_definition_integer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AttributeDefinitionInteger < Lutaml::Model::Serializable
1313

1414
xml do
1515
root "ATTRIBUTE-DEFINITION-INTEGER"
16-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
16+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1717

1818
map_attribute "DESC", to: :desc
1919
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/attribute_definition_real.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AttributeDefinitionReal < Lutaml::Model::Serializable
1313

1414
xml do
1515
root "ATTRIBUTE-DEFINITION-REAL"
16-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
16+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1717

1818
map_attribute "DESC", to: :desc
1919
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/attribute_definition_string.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AttributeDefinitionString < Lutaml::Model::Serializable
1313

1414
xml do
1515
root "ATTRIBUTE-DEFINITION-STRING"
16-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
16+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1717

1818
map_attribute "DESC", to: :desc
1919
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/attribute_definition_xhtml.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AttributeDefinitionXhtml < Lutaml::Model::Serializable
1313

1414
xml do
1515
root "ATTRIBUTE-DEFINITION-XHTML"
16-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
16+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1717

1818
map_attribute "DESC", to: :desc
1919
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/attribute_value_boolean.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AttributeValueBoolean < Lutaml::Model::Serializable
77

88
xml do
99
root "ATTRIBUTE-VALUE-BOOLEAN"
10-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
10+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1111

1212
map_attribute "THE-VALUE", to: :the_value
1313
map_element "DEFINITION", to: :definition

lib/reqif/attribute_value_date.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AttributeValueDate < Lutaml::Model::Serializable
77

88
xml do
99
root "ATTRIBUTE-VALUE-DATE"
10-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
10+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1111

1212
map_attribute "THE-VALUE", to: :the_value
1313
map_element "DEFINITION", to: :definition

lib/reqif/attribute_value_enumeration.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AttributeValueEnumeration < Lutaml::Model::Serializable
77

88
xml do
99
root "ATTRIBUTE-VALUE-ENUMERATION"
10-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
10+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1111

1212
map_element "DEFINITION", to: :definition
1313
map_element "VALUES", to: :values

lib/reqif/attribute_value_integer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AttributeValueInteger < Lutaml::Model::Serializable
77

88
xml do
99
root "ATTRIBUTE-VALUE-INTEGER"
10-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
10+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1111

1212
map_attribute "THE-VALUE", to: :the_value
1313
map_element "DEFINITION", to: :definition

lib/reqif/attribute_value_real.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AttributeValueReal < Lutaml::Model::Serializable
77

88
xml do
99
root "ATTRIBUTE-VALUE-REAL"
10-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
10+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1111

1212
map_attribute "THE-VALUE", to: :the_value
1313
map_element "DEFINITION", to: :definition

lib/reqif/attribute_value_string.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class AttributeValueString < Lutaml::Model::Serializable
77

88
xml do
99
root "ATTRIBUTE-VALUE-STRING"
10-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
10+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1111

1212
map_attribute "THE-VALUE", to: :the_value
1313
map_element "DEFINITION", to: :definition

lib/reqif/attribute_value_xhtml.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class AttributeValueXhtml < Lutaml::Model::Serializable
99

1010
xml do
1111
root "ATTRIBUTE-VALUE-XHTML"
12-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
12+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1313

1414
map_attribute "IS-SIMPLIFIED", to: :is_simplified
1515
map_element "THE-VALUE", to: :the_value

lib/reqif/children.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Children < Lutaml::Model::Serializable
66

77
xml do
88
root "CHILDREN"
9-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
9+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1010

1111
map_element "SPEC-HIERARCHY", to: :spec_hierarchy
1212
end

lib/reqif/core_content.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class CoreContent < Lutaml::Model::Serializable
66

77
xml do
88
root "CORE-CONTENT"
9-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
9+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1010

1111
map_element "REQ-IF-CONTENT", to: :req_if_content
1212
end

lib/reqif/datatype_definition_boolean.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class DatatypeDefinitionBoolean < Lutaml::Model::Serializable
1010

1111
xml do
1212
root "DATATYPE-DEFINITION-BOOLEAN"
13-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
13+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1414

1515
map_attribute "DESC", to: :desc
1616
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/datatype_definition_date.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class DatatypeDefinitionDate < Lutaml::Model::Serializable
1010

1111
xml do
1212
root "DATATYPE-DEFINITION-DATE"
13-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
13+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1414

1515
map_attribute "DESC", to: :desc
1616
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/datatype_definition_enumeration.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class DatatypeDefinitionEnumeration < Lutaml::Model::Serializable
1111

1212
xml do
1313
root "DATATYPE-DEFINITION-ENUMERATION"
14-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
14+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1515

1616
map_attribute "DESC", to: :desc
1717
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/datatype_definition_integer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class DatatypeDefinitionInteger < Lutaml::Model::Serializable
1212

1313
xml do
1414
root "DATATYPE-DEFINITION-INTEGER"
15-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
15+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1616

1717
map_attribute "DESC", to: :desc
1818
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/datatype_definition_real.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class DatatypeDefinitionReal < Lutaml::Model::Serializable
1313

1414
xml do
1515
root "DATATYPE-DEFINITION-REAL"
16-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
16+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1717

1818
map_attribute "ACCURACY", to: :accuracy
1919
map_attribute "DESC", to: :desc

lib/reqif/datatype_definition_string.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class DatatypeDefinitionString < Lutaml::Model::Serializable
1111

1212
xml do
1313
root "DATATYPE-DEFINITION-STRING"
14-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
14+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1515

1616
map_attribute "DESC", to: :desc
1717
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/datatype_definition_xhtml.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class DatatypeDefinitionXhtml < Lutaml::Model::Serializable
1010

1111
xml do
1212
root "DATATYPE-DEFINITION-XHTML"
13-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
13+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1414

1515
map_attribute "DESC", to: :desc
1616
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/datatypes.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class Datatypes < Lutaml::Model::Serializable
1111
attribute :datatype_definition_xhtml, DatatypeDefinitionXhtml, collection: true
1212

1313
xml do
14-
root "DATATYPES"
15-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
14+
root "DATATYPES", ordered: true
15+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1616

1717
map_element "DATATYPE-DEFINITION-BOOLEAN", to: :datatype_definition_boolean
1818
map_element "DATATYPE-DEFINITION-DATE", to: :datatype_definition_date

lib/reqif/default_value.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class DefaultValue < Lutaml::Model::Serializable
1212

1313
xml do
1414
root "DEFAULT-VALUE"
15-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
15+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1616

1717
# TODO: Only one of these values can be active at the same time
1818
map_element "ATTRIBUTE-VALUE-BOOLEAN", to: :attribute_value_boolean

lib/reqif/definition.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Definition < Lutaml::Model::Serializable
1212

1313
xml do
1414
root "DEFINITION"
15-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
15+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1616

1717
# TODO: Only one of these values can be active at the same time
1818
map_element "ATTRIBUTE-DEFINITION-BOOLEAN-REF", to: :attribute_definition_boolean_ref

lib/reqif/editable_atts.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class EditableAtts < Lutaml::Model::Serializable
1212

1313
xml do
1414
root "EDITABLE-ATTS"
15-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
15+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1616

1717
map_element "ATTRIBUTE-DEFINITION-BOOLEAN-REF", to: :attribute_definition_boolean_ref
1818
map_element "ATTRIBUTE-DEFINITION-DATE-REF", to: :attribute_definition_date_ref

lib/reqif/embedded_value.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class EmbeddedValue < Lutaml::Model::Serializable
77

88
xml do
99
root "EMBEDDED-VALUE"
10-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
10+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1111

1212
map_attribute "KEY", to: :key
1313
map_attribute "OTHER-CONTENT", to: :other_content

lib/reqif/enum_value.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class EnumValue < Lutaml::Model::Serializable
1111

1212
xml do
1313
root "ENUM-VALUE"
14-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
14+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1515

1616
map_attribute "DESC", to: :desc
1717
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/object.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Object < Lutaml::Model::Serializable
66

77
xml do
88
root "OBJECT"
9-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
9+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1010

1111
map_element "SPEC-OBJECT-REF", to: :spec_object_ref
1212
end

lib/reqif/properties.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Properties < Lutaml::Model::Serializable
66

77
xml do
88
root "PROPERTIES"
9-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
9+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1010

1111
map_element "EMBEDDED-VALUE", to: :embedded_value
1212
end

lib/reqif/relation_group.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class RelationGroup < Lutaml::Model::Serializable
1414

1515
xml do
1616
root "RELATION-GROUP"
17-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
17+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1818

1919
map_attribute "DESC", to: :desc
2020
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/relation_group_type.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class RelationGroupType < Lutaml::Model::Serializable
1111

1212
xml do
1313
root "RELATION-GROUP-TYPE"
14-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
14+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1515

1616
map_attribute "DESC", to: :desc
1717
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/req_if.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ class ReqIf < Lutaml::Model::Serializable
55
attribute :the_header, TheHeader
66
attribute :core_content, CoreContent
77
attribute :tool_extensions, ToolExtensions
8+
attribute :lang, :string
89

910
xml do
1011
root "REQ-IF"
11-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
12+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1213

14+
map_attribute "lang", to: :lang, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml"
1315
map_element "THE-HEADER", to: :the_header
1416
map_element "CORE-CONTENT", to: :core_content
1517
map_element "TOOL-EXTENSIONS", to: :tool_extensions

lib/reqif/req_if_content.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ReqIfContent < Lutaml::Model::Serializable
1111

1212
xml do
1313
root "REQ-IF-CONTENT"
14-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
14+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1515

1616
map_element "DATATYPES", to: :datatypes
1717
map_element "SPEC-TYPES", to: :spec_types

lib/reqif/req_if_header.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class ReqIfHeader < Lutaml::Model::Serializable
1616

1717
xml do
1818
root "REQ-IF-HEADER"
19-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
19+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
2020

2121
map_attribute "IDENTIFIER", to: :identifier
2222
map_element "COMMENT", to: :comment

lib/reqif/req_if_tool_extension.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Reqif
44
class ReqIfToolExtension < Lutaml::Model::Serializable
55
xml do
66
root "REQ-IF-TOOL-EXTENSION"
7-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
7+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
88
end
99
end
1010
end

lib/reqif/source.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Source < Lutaml::Model::Serializable
66

77
xml do
88
root "SOURCE"
9-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
9+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1010

1111
map_element "SPEC-OBJECT-REF", to: :spec_object_ref
1212
end

lib/reqif/source_specification.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class SourceSpecification < Lutaml::Model::Serializable
66

77
xml do
88
root "SOURCE-SPECIFICATION"
9-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
9+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1010

1111
map_element "SPECIFICATION-REF", to: :specification_ref
1212
end

lib/reqif/spec_attributes.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class SpecAttributes < Lutaml::Model::Serializable
1212

1313
xml do
1414
root "SPEC-ATTRIBUTES"
15-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
15+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1616

1717
map_element "ATTRIBUTE-DEFINITION-BOOLEAN", to: :attribute_definition_boolean
1818
map_element "ATTRIBUTE-DEFINITION-DATE", to: :attribute_definition_date

lib/reqif/spec_hierarchy.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class SpecHierarchy < Lutaml::Model::Serializable
1515

1616
xml do
1717
root "SPEC-HIERARCHY"
18-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
18+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1919

2020
map_attribute "DESC", to: :desc
2121
map_attribute "IDENTIFIER", to: :identifier

lib/reqif/spec_object.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class SpecObject < Lutaml::Model::Serializable
1212

1313
xml do
1414
root "SPEC-OBJECT"
15-
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd", "REQIF"
15+
namespace "http://www.omg.org/spec/ReqIF/20110401/reqif.xsd"
1616

1717
map_attribute "DESC", to: :desc
1818
map_attribute "IDENTIFIER", to: :identifier

0 commit comments

Comments
 (0)