Skip to content

Follow-up of #245: [XMLPARSER] Governance Parser fails on id_range if 'max' tag present but not 'min' tag #255

@mikaelarguedas

Description

@mikaelarguedas

The governance XSD file provide by OMG allows id_range to either have:

  1. a min and a max tag
  2. a min tag only
  3. a max tag only
<xs:complexType name="DomainIdRange">
 <!--  DDSSEC-130  -->
  <xs:choice>
    <xs:sequence>
      <xs:element name="min" type="DomainId"/>
      <xs:element name="max" type="DomainId" minOccurs="0"/>
    </xs:sequence>
    <xs:element name="max" type="DomainId"/>
  </xs:choice>
</xs:complexType>

Before FastRTPS was supporting only 1) #245.
With #252 2) is now supported
3) is still failing ATM

In other words, the following should work:

            <domains>
              <id_range>
                <max>230</max>
              </id_range>
            </domains>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions