[Playlist] DTD for XSPF
Ivo Emanuel Gonçalves
justivo at gmail.com
Mon Dec 10 01:26:47 UTC 2007
On 12/10/07, Lucas Gonze <lgonze at panix.com> wrote:
> How's that, Ivo?
Well, technically, I believe it's invalid to add a DTD to current XSPF
files as the spec does not specify anything related with it. And it's
not an "extension", it's a parent XML statement right there at the top
of the file, which means it's important and the spec should mention if
DTDs are allowed.
In theory, if we would want to use DTD in XSPF, we would have to
either change the spec to allow it, ignore that the spec does not
state anything to do with it, and (after doing one of those) ask
Sebastian to make libSpiff not break with DTD, because DTDs are likely
to break applications out there.
Then, while not related with my original concern, there's the other
concern with DTD criticism, chief among such that DTD does not support
new features of XML (namespaces come to mind).
That said, Hans' DTD may be useful for applications as a sort of
backup/template to examine playlists and perhaps not as an addition to
files.
-Ivo
More information about the Playlist
mailing list