Comment 0 for bug 191199

Revision history for this message
In , Luis-tieguy (luis-tieguy) wrote :

Because xml.cgi basically hand crafts xml instead of using the standard perl XML
libraries, it doesn't escape/encode umlauts (for example), so the XML it creates
is invalid. This means that sane XML libraries looking to parse the code are...
well, displeased.

Because we are moving towards templates for all data output (not just xml.cgi),
it seems unlikely that this problem is going to be solved the 'correct' way-
i.e., by using the perl XML libraries to create properly encoded XML.

So... I'm not entirely sure that there is any elegant solution to this, except
maybe to provide a 'encode_this_like_XML_likes()' function that can be called
iff xml is chosen as the output format. Not sure how that would work, though.
But it is a problem, and will continue to be if people want to use standard
system libraries (on both linux and windows) to create interaction with bugzilla.