xml:id in validator

View: New views
3 Messages — Rating Filter:   Alert me  

xml:id in validator

by Lucas Gonze-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Input xspf --
===
<?xml version="1.0"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
  <trackList>
   <track xml:id="http://magnatune.com/artists/albums/logicgate-silence">
    <title><![CDATA[Code Red]]></title>
   </track>
  </trackList>
</playlist>
===

===
The validator flags an error on xml:id
===

Error protocol:
Line Col Error
 
4 3 Attribute 'http://www.w3.org/XML/1998/namespace id' not allowed.

<?xml version="1.0"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
  <trackList>
   <track xml:id="http://magnatune.com/artists/albums/logicgate-silence">
    <creator><![CDATA[Logic Gate]]></creator>
 
<image><![CDATA[http://magnatune.com//artists/img/logicgatephoto.jpg]]></image>
 
<info><![CDATA[http://magnatune.com/artists/albums/logicgate-silence]]></info>
 
<location><![CDATA[http://he3.magnatune.com/all/01-Code%20Red-Logic%20Gate.mp3]]></location>
    <title><![CDATA[Code Red]]></title>
   </track>
  </trackList>
</playlist>
               

_______________________________________________
Playlist mailing list
Playlist@...
http://lists.musicbrainz.org/mailman/listinfo/playlist

Re: xml:id in validator

by Sebastian Pipping-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just applied a quick fix for this.



Sebastian

_______________________________________________
Playlist mailing list
Playlist@...
http://lists.musicbrainz.org/mailman/listinfo/playlist

Re: xml:id in validator

by Lucas Gonze :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Way cool.

Definitely an obscure point.

On Mon, Jun 1, 2009 at 6:05 PM, Sebastian Pipping
<webmaster@...> wrote:
> Just applied a quick fix for this.

_______________________________________________
Playlist mailing list
Playlist@...
http://lists.musicbrainz.org/mailman/listinfo/playlist