[BUG] cElementTree can't handle attributes with tabs
John Arbash Meinel
john at arbash-meinel.com
Sun Jul 2 04:41:49 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley wrote:
> John Arbash Meinel wrote:
>>> It seems that cElementTree converts attributes with tabs into plain
>>> spaces. At least as of cElementTree-1.0.5_20051216-py2.4
>>>
>>> I was trying to test bundles with a tab character in files, and it seems
>>> that right now, bzr can't handle those files.
>
> Oh, well tabs are illegal in XML. Sorry, I'd forgotten about that. Ran
> into it when I was writing baz-import.
>
> Aaron
As in you are supposed to escape them, or how are you supposed to
represent them with an XML attribute?
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEp0B9JdeBCYSNAAMRAq9pAJ93N+xJoNeh/3Oia6LYrOtu5JFV8gCghChW
ha/EApfa1491w15gnIsh4EE=
=r0Bf
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list