GNOME Bugzilla – Bug 339056
Erroneous XML file of logs
Last modified: 2006-04-19 19:15:47 UTC
Distribution: Debian testing/unstable Package: gossip Severity: Normal Version: GNOME2.12.3 0.10.x Gnome-Distributor: Debian Synopsis: Erroneous XML file of logs Bugzilla-Product: gossip Bugzilla-Component: General Bugzilla-Version: 0.10.x Description: Description of Problem: The names of the contacts are not properly escaped before embedding within XML files of logs. In my case, I abbreviated the name of a friend into s\xE9v', where the apostrophe conflicts the quote used in the xml file. Steps to reproduce the problem: 1. add (or rename) a contact with a nickname containing some ' 2. receive a message from this contact 3. ask to see the log file Actual Results: These error messages (with blob instead of private and irrelevant information; I did not realign the ^ but the first 3 indicates the ends of lines, the last one the beginning): blob/.gnome2/Gossip/logs/blob@blob.log:7: parser error : attributes construct error sage time='20060412T11:01:52' from='blob@blob' resource='' nick='s\xE9v' ^ blob/.gnome2/Gossip/logs/blob@blob.log:7: parser error : Couldn't find end of Start Tag message line 7 sage time='20060412T11:01:52' from='blob@blob' resource='' nick='s\xE9v' ^ blob/.gnome2/Gossip/logs/blob@blob.log:9: parser error : Opening and ending tag mismatch: gossip line 3 and message </message> ^ blob/.gnome2/Gossip/logs/blob@blob.log:10: parser error : Extra content at the end of the document <message time='20060412T11:02:01' to='blob@blob' resource='' nick='sa ^ ** (gossip:28977): WARNING **: Couldn't transform log file:'/tmp/gossip-log-Hrb4Ft' Expected Results: The logs How often does this happen? Additional Information: ------- Bug created by bug-buddy at 2006-04-19 17:34 ------- Bugreport had an attachment. This cannot be imported to Bugzilla. Contact bugmaster@gnome.org if you are willing to write a patch for this.
Fixed, good catch, thanks ;)