File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,16 @@ \section{\module{xmlrpclib} --- XML-RPC client access}
5959may also raise a special \exception {Fault} instance, used to signal
6060XML-RPC server errors, or \exception {ProtocolError} used to signal an
6161error in the HTTP/HTTPS transport layer.
62+
63+ When passing strings, characters special to XML such as \samp {<},
64+ \samp {>}, and \samp {\& } will be automatically escaped. However, it's
65+ the caller's responsibility to ensure that the string is free of
66+ characters that aren't allowed in XML, such as the control characters
67+ with ASCII values between 0 and 31; failing to do this will result in
68+ an XML-RPC request that isn't well-formed XML. If you have to pass
69+ arbitrary strings via XML-RPC, use the \class {Binary} wrapper class
70+ described below.
71+
6272\end {classdesc }
6373
6474
@@ -200,15 +210,15 @@ \subsection{ProtocolError Objects \label{protocol-error-objects}}
200210members:
201211
202212\begin {memberdesc }{url}
203- The URI or URL that triggered te error.
213+ The URI or URL that triggered the error.
204214\end {memberdesc }
205215
206216\begin {memberdesc }{errcode}
207217The error code.
208218\end {memberdesc }
209219
210220\begin {memberdesc }{errmsg}
211- The eror message of diagnostic string.
221+ The error message or diagnostic string.
212222\end {memberdesc }
213223
214224\begin {memberdesc }{headers}
You can’t perform that action at this time.
0 commit comments