[Playlist] Double-hyphen in the XSPF sample document

Sebastian Pipping webmaster at hartwork.org
Tue Aug 22 01:38:58 UTC 2006


Hello!


When trying to parse the sample XSPF document at
the Portable Playlist Wiki
(http://playlist.musicbrainz.org/playlist/moin.cgi/DefaultFormatInXmlVersionThree)
Expat gave me a "not well-formed (invalid token)" error.

I found out the double hyphen in the line
"This value is only a hint -- different XSPF generators [..]"
was the reason. I searched trough the web and learned that
'the string "--" (double-hyphen) MUST NOT occur within comments.'
(cite from http://www.w3.org/TR/REC-xml/#sec-comments)

I suppose I am not the last one running into this trouble
so maybe someone can fix this.


Regards, Sebastian


-- 
Sebastian Pipping
http://www.hartwork.org/



More information about the Playlist mailing list