[BB-API] Invalid XML characters

Richard Smith richard at ex-parrot.com
Sat Jul 14 16:07:10 UTC 2018


Graham John wrote:

> https://bb.ringingworld.co.uk/view.php?id=1238812
> 
> I got an invalid xml characters exception reading this performance as XML
> because there is in an invalid character in the second paragraph of footnote
> (after "on the"). Should BellBoard constrain user input to a standard set of
> readable UTF8 characters?

Thanks for reporting this.  The character in question is a 
vertical tab (U+000B), which seems a pretty odd character to 
have found its way into the footnote.  However I've now 
added code to strip control characters that cannot be 
represented legally in XML.


Richard



More information about the BB-API mailing list