[Playlist] Testsuite updates
Sebastian Pipping
webmaster at hartwork.org
Sun Feb 18 21:45:39 UTC 2007
I now have proof of a bug in at least the Windows
version of XMLStarlet 1.0.1 .
Depending on whether I pass "--err" or not the very same
file one time is valid and the other time invalid.
Seems to happen only with Relax NG input but I'm not sure.
Have a look at my console dump to see what I am
talking about:
== First try with "--err" gives invalid ==
Administrator at broadaxe /cygdrive/e/workspace/xspf___testcase/for_version_1
$ ./xml validate --err --relaxng xspf-1_0.5.rng fail/track-toomany-tracknum.xspf
Relax-NG validity error : Extra element trackNum in interleave
fail/track-toomany-tracknum.xspf:13: element trackNum: Relax-NG validity error :
Element track failed to validate content
fail/track-toomany-tracknum.xspf:10: element track: Relax-NG validity error : El
ement trackList has extra content: track
fail/track-toomany-tracknum.xspf - invalid
== Second try without "--err" gives valid ==
Administrator at broadaxe /cygdrive/e/workspace/xspf___testcase/for_version_1
$ ./xml validate --relaxng xspf-1_0.5.rng fail/track-toomany-tracknum.xspf
fail/track-toomany-tracknum.xspf - valid
So keep this in mind when using XMLStarlet with XSPF.
Sebastian
More information about the Playlist
mailing list