diff options
author | Michael W. Hudson <mwh@python.net> | 2002-03-11 10:05:07 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-03-11 10:05:07 (GMT) |
commit | ade05ed74ddc5ff5bec7cb529e97bccb51fde0d7 (patch) | |
tree | 2450001066f48e22d043f1ad8c8d2433273db51c /Doc | |
parent | 7742c3d40d9898561a645ce5d7414e63963cadeb (diff) | |
download | cpython-ade05ed74ddc5ff5bec7cb529e97bccb51fde0d7.zip cpython-ade05ed74ddc5ff5bec7cb529e97bccb51fde0d7.tar.gz cpython-ade05ed74ddc5ff5bec7cb529e97bccb51fde0d7.tar.bz2 |
backport akuchling's checkin of
revision 1.6 of libxmlrpclib.tex
[Bug #486527] Note that the caller has to ensure there are no control
characters in strings being passed via XML-RPC.
Fix some typos.
2.2.1 bugfix candidate.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libxmlrpclib.tex | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Doc/lib/libxmlrpclib.tex b/Doc/lib/libxmlrpclib.tex index db62206..690e669 100644 --- a/Doc/lib/libxmlrpclib.tex +++ b/Doc/lib/libxmlrpclib.tex @@ -59,6 +59,16 @@ This is the full set of data types supported by XML-RPC. Method calls may also raise a special \exception{Fault} instance, used to signal XML-RPC server errors, or \exception{ProtocolError} used to signal an error in the HTTP/HTTPS transport layer. + +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 +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. + \end{classdesc} @@ -200,7 +210,7 @@ server named by the URI does not exist). It has the following members: \begin{memberdesc}{url} -The URI or URL that triggered te error. +The URI or URL that triggered the error. \end{memberdesc} \begin{memberdesc}{errcode} @@ -208,7 +218,7 @@ The error code. \end{memberdesc} \begin{memberdesc}{errmsg} -The eror message of diagnostic string. +The error message or diagnostic string. \end{memberdesc} \begin{memberdesc}{headers} |