]> Cypherpunks.ru repositories - gostls13.git/commit
encoding/xml: disallow empty namespace when prefix is set
authorConstantin Konstantinidis <constantinkonstantinidis@gmail.com>
Mon, 20 Aug 2018 18:29:30 +0000 (20:29 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 9 Nov 2022 22:45:43 +0000 (22:45 +0000)
commitbef5eca118fab6b7dd56c31fd1957c5edc214021
tree4c79b217636a4ebc47d12f37a35d5626433d7f0d
parente70f74b0aa125a4e017f2b0a81e10ac41d0fd71c
encoding/xml: disallow empty namespace when prefix is set

Non-regression tests are added.

Fixes #8068

Change-Id: Icb36c910bbf4955743b7aa8382002b2d9246fadc
Reviewed-on: https://go-review.googlesource.com/c/go/+/105636
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/encoding/xml/xml.go
src/encoding/xml/xml_test.go