Dash-Industry-Forum / Test-Vectors

DASH-IF Test Vectors
4 stars 1 forks source link

space is not permitted in @profiles #134

Closed paulhiggs closed 3 years ago

paulhiggs commented 3 years ago

The following test assets includes a space after the comma which separates the profile identifiers. 'urn:mpeg:dash:profile:isoff-on-demand:2011, http://dashif.org/guidelines/dash264'

paulhiggs commented 3 years ago

MPEG DASH 3rd edition schema

<xs:attribute name="profiles" type="xs:string" use="required"/>

MPEG DASH 4th edition schema

<xs:attribute name="profiles" type="ListOfProfilesType" use="required"/>
<xs:simpleType name="ListOfProfilesType">
    <xs:restriction base="xs:string">
        <xs:pattern value="(([A-Za-z0-9\-\._~&#xA0;-&#xFF;]|(&#37;[0-9A-Fa-f][0-9A-Fa-f])|[!$&amp;'()*+;=:@]))+(,(([A-Za-z0-9\-\._~&#xA0;-&#xFF;]|(&#37;[0-9A-Fa-f][0-9A-Fa-f])|[!$&amp;'()*+;=:@]))*)*"/>
    </xs:restriction>
</xs:simpleType>

MPEG DASH 5th edition schema


<xs:attribute name="profiles" type="ListOfProfilesType" use="required"/>
<xs:simpleType name="ListOfProfilesType">
    <xs:annotation>
        <xs:documentation xml:lang="en">
            List of Profiles
        </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
        <xs:pattern value="(&URN;|&URL;)(,(&URN;|&URL;))*"/>
    </xs:restriction>
</xs:simpleType>
<!ENTITY URN "urn:&NamespaceID;:&NamespaceSpecific;">
<!ENTITY URL "(&Scheme;:(&AuthorityAndPath;|&PathNoAuthority;)|(&RelativePath;/?|&AbsolutePath;/?))&Query;?&Fragment;?">
paulhiggs commented 3 years ago

This will be allowed from the MPEG DASH 5th edition

paulhiggs commented 3 years ago

Update to MPEG DASH 5th edition allows whitespace after comma, see MPEGGroup/DASHSchema#86