[BB-API] Invalid XML characters

Graham John graham at complib.org
Sun Jul 15 08:51:42 UTC 2018


Thanks Richard for your quick remedy. I have already applied a filter in my
code, but doing it server side is better and will save others similar
problems.

Graham



On Sat, 14 Jul 2018, 16:07 Richard Smith, <richard at ex-parrot.com> wrote:

> 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
>
> _______________________________________________
> BB-API mailing list
> BB-API at lists.ringingworld.co.uk
> https://lists.ringingworld.co.uk/listinfo/bb-api
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ringingworld.co.uk/pipermail/bb-api/attachments/20180715/769870e6/attachment.html>


More information about the BB-API mailing list