Skip to content

Commit

Permalink
doc: document encoding/xml change in CL 203417
Browse files Browse the repository at this point in the history
Change-Id: Ibc0228f166f449ec28d813f33bdb550fe7ba2b3e
Reviewed-on: https://go-review.googlesource.com/c/go/+/236739
Reviewed-by: Dmitri Shuralyov <[email protected]>
  • Loading branch information
rsc committed Jun 10, 2020
1 parent 7b872b6 commit b9332ed
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions doc/go1.15.html
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
<a href="/pkg/crypto/tls/#ClientAuthType"><code>ClientAuthType</code></a>
now implement <a href="/pkg/fmt/#Stringer"><code>fmt.Stringer</code></a>.
</p>

<p><!-- CL 236737 -->
The <a href="/pkg/crypto/tls/#ConnectionState"><code>ConnectionState</code></a>
fields <code>OCSPResponse</code> and <code>SignedCertificateTimestamps</code>
Expand Down Expand Up @@ -569,7 +569,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
<dl id="encoding/xml"><dt><a href="/pkg/encoding/xml/">encoding/xml</a></dt>
<dd>
<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>
</dd>
</dl><!-- encoding/xml -->
Expand Down

0 comments on commit b9332ed

Please sign in to comment.