[Playlist] Online Validator now validates URIs
Sebastian Pipping
webmaster at hartwork.org
Fri Sep 21 00:45:32 UTC 2007
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/
More information about the Playlist
mailing list