Branko Čibej created SVN-4919:
---------------------------------

             Summary: Running svn with --xml may emit XML with invalid 
characters
                 Key: SVN-4919
                 URL: https://issues.apache.org/jira/browse/SVN-4919
             Project: Subversion
          Issue Type: Bug
          Components: cmdline client
    Affects Versions: all
            Reporter: Branko Čibej


This is demonstrated by {{prop_tests.py/xml_unsafe_author2()}}, where we have 
an author name that contains a {{\b}} backspace control character. {{svn list 
--xml}} emits that author name, making the output invalid.

We should consider extending the client's XML schema so that it can encode such 
strings in an XML-safe manner, by adding an "encoding" attribute to the 
containing element. The encoding could be base-64, which is suitable for 
parsing, or quoted-printable, which is also suitable for human readers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to