summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-07-26 09:36:28 (GMT)
committerGeorg Brandl <georg@python.org>2007-07-26 09:36:28 (GMT)
commit77dff905ba1fb9ca1a41b9ccf530a8d7f2e5e696 (patch)
tree4c1761464522c72021057102e9be85582a85e270 /Doc
parent088277f2906cb75836b3a4c3bcda3bc8af0e9ca3 (diff)
downloadcpython-77dff905ba1fb9ca1a41b9ccf530a8d7f2e5e696.zip
cpython-77dff905ba1fb9ca1a41b9ccf530a8d7f2e5e696.tar.gz
cpython-77dff905ba1fb9ca1a41b9ccf530a8d7f2e5e696.tar.bz2
tabs, newlines and crs are valid XML characters.
(backport from rev. 56551)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libxmlrpclib.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libxmlrpclib.tex b/Doc/lib/libxmlrpclib.tex
index f2975d6..ab9ef97 100644
--- a/Doc/lib/libxmlrpclib.tex
+++ b/Doc/lib/libxmlrpclib.tex
@@ -91,7 +91,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.