]> granicus.if.org Git - python/commitdiff
tabs, newlines and crs are valid XML characters.
authorGeorg Brandl <georg@python.org>
Thu, 26 Jul 2007 09:36:25 +0000 (09:36 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 26 Jul 2007 09:36:25 +0000 (09:36 +0000)
Doc/lib/libxmlrpclib.tex

index 062cf9f50fb13b70a8c54bb840552e08a40e3f8f..fdd4e7279d1335593c6142f5f7b2fe082f3d5d58 100644 (file)
@@ -94,7 +94,8 @@ When passing strings, characters special to XML such as \samp{<},
 \samp{>}, and \samp{\&} will be automatically escaped.  However, it's
 the caller's responsibility to ensure that the string is free of
 characters that aren't allowed in XML, such as the control characters
-with ASCII values between 0 and 31; failing to do this will result in
+with ASCII values between 0 and 31 (except, of course, tab, newline and
+carriage return); failing to do this will result in
 an XML-RPC request that isn't well-formed XML.  If you have to pass
 arbitrary strings via XML-RPC, use the \class{Binary} wrapper class
 described below.