]> Cypherpunks repositories - gostls13.git/commit
encoding/xml: fix valid character range
authorArtyom Pervukhin <artyom.pervukhin@gmail.com>
Thu, 26 Apr 2018 13:23:54 +0000 (14:23 +0100)
committerIan Lance Taylor <iant@golang.org>
Wed, 9 May 2018 17:31:08 +0000 (17:31 +0000)
commit4410934cbad454539312468aca276111c08f5582
treee9000e3f867970c79026c5f047e05152464b43f3
parent46047e64479c30602f0fb42c6915638006d7335d
encoding/xml: fix valid character range

Section 2.2 of the referenced spec http://www.xml.com/axml/testaxml.htm
defines 0xD7FF as a (sub)range boundary, not 0xDF77.

Fixes #25172

Change-Id: Ic5a3328cd46ef6474b8e93c4a343dcfba0e6511f
Reviewed-on: https://go-review.googlesource.com/109495
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/encoding/xml/xml.go
src/encoding/xml/xml_test.go