[Playlist] CDATA in URL sections?

Sebastian Pipping webmaster at hartwork.org
Sun May 13 18:04:55 UTC 2007


Lucas Gonze wrote:
> Here's the situation I'm thinking of:
> <location>
>    http://example.com
> </location>
> 
> That's legal, but the URL is invalid until you trim off the leading and
> trailing whitespace.

--------------------------------------------------------------
That's confusing me. Shouldn't either the URL be valid
because whitespace is ignored or the whole location
element be invalid since the body contains more than
just an URI?
--------------------------------------------------------------



> [..] The
> party generating XSPF should just not let whitespace get into these
> elements.

--------------------------------------------------------------
So whitespace by default is significant?
What I read about whitespace in XML still didn't
get my head clear on that.



Sebastian



More information about the Playlist mailing list