nick-knowles / NeTEx-XML

Netex XML Schema
Other
10 stars 6 forks source link

SupplementToFareProductRef references fare product PRICE id instead of fare product id #19

Closed mariankassovic closed 3 years ago

mariankassovic commented 6 years ago

Hallo! I guess that it is a mistake in netex_fareProduct_version-v1.0.xsd (v1.04b) where SUPPLEMENT PRODUCT should be able to reference FARE PRODUCT to which it is a supplement (according to documentation) by means of SupplementToFareProductRef. However, in scheme it refers to FareProductPriceIdType, and not to the FareProductIdType (see bellow) as I would expect.

<xsd:group name="SupplementProductGroup">
    <xsd:annotation>
        <xsd:documentation>Elements for a PREASSIGNED FARE PRODUCT.</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element name="SupplementToFareProductRef" type="FareProductPriceIdType" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>FARE PRODUCT to which this is a sublement.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
    </xsd:sequence>
</xsd:group>
nick-knowles commented 3 years ago

Fixed 2018