Summary: | Logger fails to load logs containing weird strings | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Guillaume Desmottes <guillaume.desmottes> |
Component: | logger | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | daniel.thompson |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Guillaume Desmottes
2013-12-27 15:08:59 UTC
(In reply to comment #0) > <message time='20131226T21:00:26' id='XXX' name='XXX' token='' isuser='false' > type='normal'>[6~ This is indeed malformed. XML cannot represent U+001B or other control characters, even when escaped via numeric character references. (Yes, I was astonished to discover that, too.) If we've been willing to write out files like this in the past, we need some way to put the parser in a permissive not-quite-XML mode so we can recover them. (In reply to comment #1) > (In reply to comment #0) > > <message time='20131226T21:00:26' id='XXX' name='XXX' token='' isuser='false' > > type='normal'>[6~ > > This is indeed malformed. XML cannot represent U+001B or other control > characters, even when escaped via numeric character references. (Yes, I was > astonished to discover that, too.) > > If we've been willing to write out files like this in the past, we need some > way to put the parser in a permissive not-quite-XML mode so we can recover > them. Actually the current versions (0.8.0) still writes the corrupted files it itself cannot parse. I have log from 29 April: <message time='20140429T16:27:50' id='fizruk' name='fizruk' token='' isuser='false' type='normal'>semigroupoids has Foldable1 iirc :p</message> For reference I've installed the current version on March 29 and I tend to not have a very long uptimes ATM. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.