Attached document seems to follow the example, but is described as invalid by the online validator

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Attached document seems to follow the example, but is described as invalid by the online validator

Koz Ross
I made a playlist file, which I attached to this email, and tried to run it through this validator: http://validator.xspf.org/ . However, this came back with the following error report:

Line Col Error
 
2 1 Root element must be playlist, not 'https://xspf.org/ns/0/ playlist'.
3 3 Element https://xspf.org/ns/0/ title not allowed.
4 3 Element https://xspf.org/ns/0/ creator not allowed.
5 3 Element https://xspf.org/ns/0/ info not allowed.
6 3 Element https://xspf.org/ns/0/ license not allowed.
7 3 Element https://xspf.org/ns/0/ trackList not allowed.
57 1 Element trackList missing.

I made this by following the spec, and using the example at http://xspf.org/quickstart/ . What am I missing?

--
Koz Ross <[hidden email]>
www.retro-freedom.nz
If you aren't using GPG, you should be! https://emailselfdefense.fsf.org/en.
***
Please don't send me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html for why.
***
Proud member of the Open Wireless Movement. Find out more at https://openwireless.org/

_______________________________________________
Playlist mailing list
[hidden email]
http://lists.xiph.org/mailman/listinfo/playlist

little-histories.xspf (2K) Download Attachment
attachment1 (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Attached document seems to follow the example, but is described as invalid by the online validator

Brandon LeBlanc
You appear to be using the wrong xmlns. The correct xmlns is http:// (you are using https://). Change the protocol and rerun through the validator and there will be different errors. <name/> is not appropriate for <track/> (i's <title/>).



On Wed, Oct 21, 2015 at 5:02 PM, Koz Ross <[hidden email]> wrote:
I made a playlist file, which I attached to this email, and tried to run it through this validator: http://validator.xspf.org/ . However, this came back with the following error report:

Line    Col             Error

2       1               Root element must be playlist, not 'https://xspf.org/ns/0/ playlist'.
3       3               Element https://xspf.org/ns/0/ title not allowed.
4       3               Element https://xspf.org/ns/0/ creator not allowed.
5       3               Element https://xspf.org/ns/0/ info not allowed.
6       3               Element https://xspf.org/ns/0/ license not allowed.
7       3               Element https://xspf.org/ns/0/ trackList not allowed.
57      1               Element trackList missing.

I made this by following the spec, and using the example at http://xspf.org/quickstart/ . What am I missing?

--
Koz Ross <[hidden email]>
www.retro-freedom.nz
If you aren't using GPG, you should be! https://emailselfdefense.fsf.org/en.
***
Please don't send me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html for why.
***
Proud member of the Open Wireless Movement. Find out more at https://openwireless.org/

_______________________________________________
Playlist mailing list
[hidden email]
http://lists.xiph.org/mailman/listinfo/playlist



_______________________________________________
Playlist mailing list
[hidden email]
http://lists.xiph.org/mailman/listinfo/playlist
Loading...