xmldiff #23489 xupdate output does not encode <, & [deprecated]
The xupdate output does not encode XML special characters '<', '>', '&', ''', '"' to XML-Entities '<', '>', '&', ''', '"' within text nodes. Within objects.py, the "_xml_print_internal_format" method is called for generating this output. In the case of a new element with new content it generates the xupdate command and calls "xml_print" for all children except attributes. The call to xml_print does not include the xupdate parameter, therefor xml_print goes to "_xml_print_internal_format" to output the textual content. Within _xml_print_internal_format, the content is written directly to the stream
"""
Any changes on XML documents containing a less than sign for example leads to a not well formed xupdate document! | |
priority | important |
---|---|
type | bug |
done in | <not specified> |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2010/07/13 12:13, written by torsknod
add commentI think this issue will tackle my work sooner or later. Something against using the Serializer in xml.sax? I would provide a patch latest when it's required for my own work.
Regards
Torsten