Bug: Commit message containing control characters

Jan Hudec bulb at ucw.cz
Sun Sep 4 22:57:53 BST 2005


On Sun, Sep 04, 2005 at 17:52:05 -0400, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jan Hudec wrote:
> 
> > What's wrong with  ? The thing here is, that the xml writer should always
> > entity-escape everything and the parser should always entity-unescape it.
> > Unfortunately many don't do it.
> 
> The problem is that an XML 1.0 document containing that character is not
> well-formed.  Writers are not supposed to produce ill-formed documents,
> and parsers are not required to decode them.

Am I saying anything different? But the context before was about not being
able to represent \x01 in XML -- which is possible using . It's not done,
which is the bug -- I really believe the bug is in ElementTree, which is the
writer that is supposed not to write ill-formed documents.

--
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050904/7db97283/attachment.pgp 


More information about the bazaar mailing list