1
0
mirror of https://github.com/golang/go synced 2024-11-23 03:50:03 -07:00

doc: document encoding/xml change in CL 203417

Change-Id: Ibc0228f166f449ec28d813f33bdb550fe7ba2b3e
Reviewed-on: https://go-review.googlesource.com/c/go/+/236739
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Russ Cox 2020-06-05 13:51:17 -04:00
parent 7b872b6d95
commit b9332ed31a

View File

@ -478,7 +478,7 @@ Do not send CLs removing the interior tags from such phrases.
<a href="/pkg/crypto/tls/#ClientAuthType"><code>ClientAuthType</code></a> <a href="/pkg/crypto/tls/#ClientAuthType"><code>ClientAuthType</code></a>
now implement <a href="/pkg/fmt/#Stringer"><code>fmt.Stringer</code></a>. now implement <a href="/pkg/fmt/#Stringer"><code>fmt.Stringer</code></a>.
</p> </p>
<p><!-- CL 236737 --> <p><!-- CL 236737 -->
The <a href="/pkg/crypto/tls/#ConnectionState"><code>ConnectionState</code></a> The <a href="/pkg/crypto/tls/#ConnectionState"><code>ConnectionState</code></a>
fields <code>OCSPResponse</code> and <code>SignedCertificateTimestamps</code> fields <code>OCSPResponse</code> and <code>SignedCertificateTimestamps</code>
@ -569,7 +569,13 @@ Do not send CLs removing the interior tags from such phrases.
<dl id="encoding/xml"><dt><a href="/pkg/encoding/xml/">encoding/xml</a></dt> <dl id="encoding/xml"><dt><a href="/pkg/encoding/xml/">encoding/xml</a></dt>
<dd> <dd>
<p><!-- CL 203417 --> <p><!-- CL 203417 -->
TODO: <a href="https://golang.org/cl/203417">https://golang.org/cl/203417</a>: fix reserved namespace check to be case-insensitive The encoder has always taken care to avoid using namespace prefixes beginning with
<code>xml</code>,
which are reserved by the XML specification.
Now, following the specification more closely,
that check is case-insensitive, so that prefixes beginning with
<code>XML</code>, <code>XmL</code>,
and so on are also avoided.
</p> </p>
</dd> </dd>
</dl><!-- encoding/xml --> </dl><!-- encoding/xml -->