Closed paulhiggs closed 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\-\._~ -ÿ]|(%[0-9A-Fa-f][0-9A-Fa-f])|[!$&'()*+;=:@]))+(,(([A-Za-z0-9\-\._~ -ÿ]|(%[0-9A-Fa-f][0-9A-Fa-f])|[!$&'()*+;=:@]))*)*"/>
</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;?">
This will be allowed from the MPEG DASH 5th edition
Update to MPEG DASH 5th edition allows whitespace after comma, see MPEGGroup/DASHSchema#86
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'