Skip to content

Invalid xmlChar in ml.xspf -> Media Library is not loaded properly

Hi,

The generated file ~/local/share/vlc/ml.xspf may have invalid XML Characters, like &#1 (closed); &#2 (closed); and so one to &#16 (closed); It seems these characters are not allowed. I checked with xmllint and it also gives errors here.

the following output is given (vlc --verbose-help)

LC media player 2.1.0-git Rincewind (revision 2.1.0~~git20121020+r2151)
[0x87b53b8] xml xml reader error: XML parser error (line 65535) : xmlParseCharRef: invalid xmlChar value 2

[0x87bd8e0] playlist demux error: unexpected end of xml data
[0x87bd8e0] playlist demux error: there's a missing </trackList>

After removing all of these characters by hand, everything is working fine.

And one more: the output line:

0x87b53b8] xml xml reader error: XML parser error (line 65535) :

is also wrong: the line number should be a double int instead of int. So the actual line number was much bigger...

Any questions? If you need more information please ask me.

And I had the same behavior on the 2.0.x versions.

Thanks for the great program!

Peter

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information