[Python-Dev] No more problems with new SVN repository

"Martin v. Löwis" martin at v.loewis.de
Fri Nov 4 07:31:03 CET 2005

Guido van Rossum wrote:
> I have a question after this exhilarating exchange.
> Is there a way to prevent this kind of thing in the future, e.g. by
> removing or rejecting change log messages with characters that are
> considered invalid in XML?

I don't think it can happen again. Without testing, I would hope
subversion rejects log messages that contain "random" control
characters (if it doesn't, I should report that as a bug).

The characters are in there because of the CVS conversion (that
might be a bug in cvs2svn, which should have replaced them perhaps).
It only happened in very old log messages - so perhaps even CVS
doesn't allow them anymore.

In XML 1.0, there is a lot of confusion about including control
characters in text. In XML 1.1, this was clarified that you can include
them, but only through character references. So in the future, 
subversion might be able to transmit such log messages in
well-formed webdav.


More information about the Python-Dev mailing list