MPEGGroup / DASHSchema

The XML schema and example XML files for DASH (ISO/IEC 23009-1)
Other
11 stars 16 forks source link

Incorrect schema for ExtendedBandwidthType in 5th edition FDIS #107

Closed paulhiggs closed 3 years ago

paulhiggs commented 3 years ago

Clause 5.3.5.6 defines the schema for ExtendedBandwidthType as

<!-- Extended Bandwidth Model  -->
<xs:complexType name="ExtendedBandwidthType">
    <xs:sequence>
        <xs:element name="ModelPair" type="ModelPairType" minOccurs="0" maxOccurs="unbounded"/>
        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="vbr" type="xs:boolean" default="false"/>
    <xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<!—Model Pair -->
<xs:complexType name="ExtendedBandwidthType">
    <xs:sequence>
        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="bufferTime" type="xs:duraton"/>
    <xs:attribute name="bandwidth" type="xs:unsignedInt"/>
    <xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
  1. The second definition of ExtendedBandwidthType should be ModelPairType
  2. The datatype for @bufferTime in ModelPairType should be xs:duration (spelling issue)

See also #95 for 5th edition schema correction

mikedo commented 3 years ago

The electronic schema here will replace the spec schema.