]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.21] encoding/xml: overriding by empty namespace when no new name...
authorxuri <xuri.me@gmail.com>
Wed, 9 Aug 2023 06:32:12 +0000 (06:32 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 30 Aug 2023 20:17:11 +0000 (20:17 +0000)
commit2d07bb86f0a2bab639c51baca4c3cf6d9c4374ad
tree9c2456616ae1cc14230308c244547b40069f0ee9
parent745b81b6e6883c4fa85ade03b4f05fdbfec46b0d
[release-branch.go1.21] encoding/xml: overriding by empty namespace when no new name declaration

The unmarshal and marshal XML text should be consistent if not modified deserialize variable.

For #61881
Fixes #62051

Change-Id: I475f7b05211b618685597d3ff20b97e3bbeaf8f8
GitHub-Last-Rev: 6831c770c384831798cb1c6dc4674e5d4caa5e3c
GitHub-Pull-Request: golang/go#58401
Reviewed-on: https://go-review.googlesource.com/c/go/+/522316
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/encoding/xml/marshal.go
src/encoding/xml/xml_test.go