go/src/encoding
Tamás Gulácsi 346d7d273c encoding/xml: fix reserved namespace check to be case-insensitive
Fixes the check for the reserved namespace prefix
"xml" to be case insensitive, so as to match all variants of:

    (('X'|'x')('M'|'m')('L'|'l'))

as mandated by Section 2.3 of https://www.w3.org/TR/REC-xml/

Fixes #35151.

Change-Id: Id5a98e5f9d69d3741dc16f567c4320f1ad0b3c70
Reviewed-on: https://go-review.googlesource.com/c/go/+/203417
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-04-09 02:03:40 +00:00
..
ascii85
asn1 Revert "encoding/asn1: fix unmarshalling SEQUENCE OF SET" 2019-11-08 18:55:44 +00:00
base32 encoding/base32: increase performance and code reuse 2019-09-11 00:56:39 +00:00
base64 all: fix incorrect channel and API usage in some unit tests 2020-02-27 19:04:17 +00:00
binary encoding/binary: add float support to fast path 2019-11-08 18:35:59 +00:00
csv src: gofmt -s 2019-09-09 18:57:05 +00:00
gob all: fix a number of misuses of the word "an" 2019-12-10 16:23:10 +00:00
hex encoding/hex: remove unused variable from BenchmarkDump 2020-03-03 14:53:52 +00:00
json encoding/json: consolidate the isSpace function 2020-02-26 17:58:41 +00:00
pem all: remove PEM-encoded private keys from tests 2019-05-21 20:03:55 +00:00
xml encoding/xml: fix reserved namespace check to be case-insensitive 2020-04-09 02:03:40 +00:00
encoding.go