XSPF Conformance Tests: Difference between revisions
Jump to navigation
Jump to search
Lucas gonze (talk | contribs) No edit summary |
(cat) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
The following items are MUST elements in the [[XSPF]] specification. | |||
== Conformance | == Conformance tests == | ||
* [http://xspf.org/xspf-v1.html#rfc.section.6.2 Relative Paths] ("Relative paths MUST be resolved according to the XML Base specification or IETF RFC 2396") | * [http://xspf.org/xspf-v1.html#rfc.section.6.2 Relative Paths] ("Relative paths MUST be resolved according to the XML Base specification or IETF RFC 2396") | ||
* handles valid URIs | * handles valid URIs | ||
* handles failure of any one resource ("If an xspf:track element cannot be rendered, a user-agent MUST skip to the next xspf:track element and MUST NOT interrupt the sequence.") | * handles failure of any one resource ("If an xspf:track element cannot be rendered, a user-agent MUST skip to the next xspf:track element and MUST NOT interrupt the sequence.") | ||
* "xspf:playlist elements MUST contain one and only one trackList element. The trackList element | * "xspf:playlist elements MUST contain one and only one trackList element. The trackList element may be empty." | ||
* "xspf:track elements MAY contain zero or more location elements, but a user-agent MUST NOT render more than one of the named resources." | * "xspf:track elements MAY contain zero or more location elements, but a user-agent MUST NOT render more than one of the named resources." | ||
* trackNum "MUST be a valid XML Schema nonNegativeInteger" | * trackNum "MUST be a valid XML Schema nonNegativeInteger" | ||
* duration "MUST be a valid XML Schema nonNegativeInteger." | * duration "MUST be a valid XML Schema nonNegativeInteger." | ||
[[Category:XSPF]] |
Latest revision as of 11:18, 21 December 2007
The following items are MUST elements in the XSPF specification.
Conformance tests
- Relative Paths ("Relative paths MUST be resolved according to the XML Base specification or IETF RFC 2396")
- handles valid URIs
- handles failure of any one resource ("If an xspf:track element cannot be rendered, a user-agent MUST skip to the next xspf:track element and MUST NOT interrupt the sequence.")
- "xspf:playlist elements MUST contain one and only one trackList element. The trackList element may be empty."
- "xspf:track elements MAY contain zero or more location elements, but a user-agent MUST NOT render more than one of the named resources."
- trackNum "MUST be a valid XML Schema nonNegativeInteger"
- duration "MUST be a valid XML Schema nonNegativeInteger."