LOVD 2.0

Welcome to the LOVD 2.0 bug tracking system. Please note that this bug tracking system is not for LOVD 3.0!

If you have any issues, please read the documentation and Frequently Asked Questions.
Please note that you need to register before you can submit bugs or feature requests.

Information By default, all closed tasks are hidden from view.
Click here to see all tasks.


FS#57 - Unescaped ampersands in XML output

Attached to Project: LOVD 2.0
Opened by Adam Webb (adamwebb) - Tuesday, 03 July 2012, 17:43 GMT+1
Last edited by Ivo F.A.C. Fokkema (ifokkema) - Thursday, 21 February 2013, 15:26 GMT+1
Task Type Bug Report
Category Other
Status Closed
Assigned To Ivo F.A.C. Fokkema (ifokkema)
Operating System All
Severity Medium
Priority Normal
Reported Version 2.0-34
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


XML feeds can produce invalid output, notably by including unescaped ampersands (&).

Example gene feed:
<?xml version="1.0" encoding="ISO-8859-1"?>
<entry xmlns="http://www.w3.org/2005/Atom">
<link rel="alternate" type="text/html" href="http://chromium.liacs.nl/LOVD2/TSC/home.php?select_db=TSC2"/>
<name>Dr. Johan T. den Dunnen</name>
<name>Sue Povey & Rosemary Ekong</name>
<content type="text">
name:Tuberous sclerosis 2

The ampersand in root>entry>contributor>name should be escaped. Unescaped ampersands can defeat XML parsers :(
This task depends upon

Closed by  Ivo F.A.C. Fokkema (ifokkema)
Thursday, 21 February 2013, 15:26 GMT+1
Reason for closing:  Fixed
Additional comments about closing:  Just released 2.0-35, which includes this fix.
Comment by Ivo F.A.C. Fokkema (ifokkema) - Wednesday, 04 July 2012, 10:27 GMT+1
  • Field changed: Percent Complete (0% → 100%)
Thank you for your report. This is fixed for the next release of LOVD 2.0, but since I'm not sure yet when that'll be, I've installed this fix on all our servers.
Comment by Adam Webb (adamwebb) - Wednesday, 04 July 2012, 17:31 GMT+1
Thanks Ivo. The fix is working.