]> Cypherpunks repositories - gostls13.git/commit
encoding/xml: overriding by empty namespace when no new name declaration
authorxuri <xuri.me@gmail.com>
Wed, 23 Aug 2023 22:31:34 +0000 (22:31 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 30 Aug 2023 20:41:27 +0000 (20:41 +0000)
commit140266fe7521bf75bf0037f12265190213cc8e7d
tree0257c5e4db772233ef8989cac4807bd4c50d9a1d
parentdffc47e75aaa61eb460cf474a7fe8de46c83c445
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.

Fixes #61881

Change-Id: I475f7b05211b618685597d3ff20b97e3bbeaf8f8
GitHub-Last-Rev: 6831c770c384831798cb1c6dc4674e5d4caa5e3c
GitHub-Pull-Request: golang/go#58401
Reviewed-on: https://go-review.googlesource.com/c/go/+/466295
Reviewed-by: ri xu <xuri.me@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/encoding/xml/marshal.go
src/encoding/xml/xml_test.go