[Playlist] last call for comments, motion to refreeze

Matthias Friedrich matt at mafr.de
Mon Sep 25 18:00:51 UTC 2006


On Monday, 2006-09-25, Sebastian Pipping wrote:
[...]
> I looked it up and was surprised to find this:

>    <playlist version="1" xmlns="http://xspf.org/ns/0/" 
> xmlns:cl="http://example.com">

> Is this a mistake or done on purpose? I thought
> the only attributes allowed for playlist are version
> and xmlns. Does the spec explicitly say whether additional
> attributes (in general) are allowed or not?
> I assumed it is not allowed to add new attributes.
> Is it said in the spec somewhere?

This has nothing to do with XSPF, "xmlns" and the "xmlns:" prefix are
used in namespace declarations (see http://www.w3.org/TR/xml-names/).
The XML standard reserves names beginning with "xml"; they are no real
attributes, just syntactic sugar and your parser should take care of
them for you.

That's different from "xml:base" (http://www.w3.org/TR/xmlbase/), BTW,
which you have to handle manually.

Cheers,
	Matthias



More information about the Playlist mailing list