Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Invalid characters in files.xml.bz2 #794
From yor...@gmail.com on May 12, 2012 09:25:25
FlylinkDC++ sometimes generates a filelist that contains characters outside of the valid range, as specified in the XML standard.
One of the lists I found had the following attribute in a <File .. /> element:
MA="1 750 Kbps,1h 51mn | AC-3, 448 Kbps, 6 channels, <0x1d>5 / @5"
Where <0x1d> is the ASCII group separator, which is not allowed in XML.
Another list, generated by FlylinkDC++ r502 -beta24, had the following attribute in a <File .. /> element:
Where <0xefbfbf> is the Unicode character 0xffff when interpreted as UTF-8, which is also not allowed in XML.
Some clients (e.g. ncdc) will not load a file list when it has invalid characters like these.
Original issue: http://code.google.com/p/flylinkdc/issues/detail?id=755