[Playlist] Online Validator now validates URIs

Lucas Gonze lgonze at panix.com
Fri Sep 21 00:50:25 UTC 2007


Nice.

This means that at last all those <location>c:\My Documents\My 
Music\example.mp3</location> paths will be caught, which is a big need.



On Fri, 21 Sep 2007, Sebastian Pipping wrote:

> Hello!
>
>
> I re-licensed the Online Validator [1] from LGPL-Any
> to LGPLv3 to be able to use 4Suite's [2] RFC 3986 URI
> validation code. So that means that the online validator
> can validate URIs now. Re-licensing back to LGPL-Any
> when the BSD-licensed uriparser Python bindings are
> ready is an option, not sure about this yet.
>
> To see this in action here is both a valid and an
> invalid click-me example:
>
>
> == Invalid ==
> http://validator.xspf.org/?url=http%3A%2F%2Fsvn.xiph.org%2Ftrunk%2Fxspf%2Ftestcase%2Ffor_version_1%2Ffail%2Ftrack-noturi-identifier.xspf
>
> == Valid ==
> http://validator.xspf.org/?url=http%3A%2F%2Fsvn.xiph.org%2Ftrunk%2Fxspf%2Ftestcase%2Ffor_version_1%2Fpass%2Fplaylist-relative-paths.xspf
>
>
> Sorry to say, but I noticed there is a problem with
> whitespace handling in the validator. I guess I forgot
> to port libSpiff's fixes over in the past. So that
> whitespace thing affects URIs as well. That's a bug
> still left to fix for later.
>
> Source is still here for those searching:
> https://trac.xiph.org/browser/websites/validator.xspf.org
>
>
>
> Sebastian
>
>
>
> [1] http://validator.xspf.org/
> [2] http://4suite.org/
>
>
> _______________________________________________
> Playlist mailing list
> Playlist at lists.musicbrainz.org
> http://lists.musicbrainz.org/mailman/listinfo/playlist
>
>



More information about the Playlist mailing list