<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/encoding/xml, branch makepkg</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=makepkg</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=makepkg'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-10-10T21:38:27Z</updated>
<entry>
<title>all: omit unnecessary reassignment</title>
<updated>2025-10-10T21:38:27Z</updated>
<author>
<name>cuishuang</name>
<email>imcusg@gmail.com</email>
</author>
<published>2025-10-10T03:47:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=584a89fe7455470b09643b30bdc3cc55bb75a552'/>
<id>urn:sha1:584a89fe7455470b09643b30bdc3cc55bb75a552</id>
<content type='text'>
The new version of Go has been optimized, and variables do not need
to be reassigned.

Change-Id: I0374b049271e53510f2b162f6821fb3595f2c8ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/710835
Auto-Submit: Michael Pratt &lt;mpratt@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Alan Donovan &lt;adonovan@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
</content>
</entry>
<entry>
<title>encoding/xml: make use of reflect.TypeAssert</title>
<updated>2025-09-29T14:53:08Z</updated>
<author>
<name>apocelipes</name>
<email>seve3r@outlook.com</email>
</author>
<published>2025-09-24T03:23:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d42d56b764f4c8b06aaa2de2dc9c1d2171e79490'/>
<id>urn:sha1:d42d56b764f4c8b06aaa2de2dc9c1d2171e79490</id>
<content type='text'>
To make the code more readable and improve performance:

goos: darwin
goarch: arm64
pkg: encoding/xml
cpu: Apple M4
                 │     old     │                 new                 │
                 │   sec/op    │   sec/op     vs base                │
Marshal-10         1.902µ ± 1%   1.496µ ± 1%  -21.37% (p=0.000 n=10)
Unmarshal-10       3.877µ ± 1%   3.418µ ± 2%  -11.84% (p=0.000 n=10)
HTMLAutoClose-10   1.314µ ± 3%   1.333µ ± 1%        ~ (p=0.270 n=10)
geomean            2.132µ        1.896µ       -11.07%

                 │     old      │                  new                  │
                 │     B/op     │     B/op      vs base                 │
Marshal-10         5.570Ki ± 0%   5.570Ki ± 0%       ~ (p=1.000 n=10) ¹
Unmarshal-10       7.586Ki ± 0%   7.555Ki ± 0%  -0.41% (p=0.000 n=10)
HTMLAutoClose-10   3.496Ki ± 0%   3.496Ki ± 0%       ~ (p=1.000 n=10) ¹
geomean            5.286Ki        5.279Ki       -0.14%
¹ all samples are equal

                 │    old     │                 new                 │
                 │ allocs/op  │ allocs/op   vs base                 │
Marshal-10         23.00 ± 0%   23.00 ± 0%       ~ (p=1.000 n=10) ¹
Unmarshal-10       185.0 ± 0%   184.0 ± 0%  -0.54% (p=0.000 n=10)
HTMLAutoClose-10   93.00 ± 0%   93.00 ± 0%       ~ (p=1.000 n=10) ¹
geomean            73.42        73.28       -0.18%
¹ all samples are equal

Updates #62121

Change-Id: Ie458e7458d4358c380374571d380ca3b65ca87bb
GitHub-Last-Rev: bb6bb3039328ca1d53ee3d56fd6597109ed76b09
GitHub-Pull-Request: golang/go#75483
Reviewed-on: https://go-review.googlesource.com/c/go/+/704215
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>all: replace reflect.Value.Type.Kind with reflect.Value.Kind</title>
<updated>2025-02-03T18:30:40Z</updated>
<author>
<name>Sean Liao</name>
<email>sean@liao.dev</email>
</author>
<published>2024-12-01T20:06:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=439d39a719da12c213aeb69a09c5aaef83d9df67'/>
<id>urn:sha1:439d39a719da12c213aeb69a09c5aaef83d9df67</id>
<content type='text'>
Fixes #46107

Change-Id: I170f3cacda652752cd740e04b565a616a0e43fd1
Reviewed-on: https://go-review.googlesource.com/c/go/+/632635
Reviewed-by: Rob Pike &lt;r@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Commit-Queue: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>all: run gofmt</title>
<updated>2025-02-03T17:55:31Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-01-13T18:24:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=77f5ecef3a4f30644eadb922a8ba5deb76fa8e07'/>
<id>urn:sha1:77f5ecef3a4f30644eadb922a8ba5deb76fa8e07</id>
<content type='text'>
Change-Id: I0af1903ed1e4f2bf4ea273847b024520c577ef6d
Reviewed-on: https://go-review.googlesource.com/c/go/+/642496
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>encoding/xml: document that embedded interfaces look like non-embedded ones</title>
<updated>2024-10-21T15:18:09Z</updated>
<author>
<name>Sean Liao</name>
<email>sean@liao.dev</email>
</author>
<published>2024-10-20T09:46:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e3d372aea86df4b3a848c0c454b364febca825d6'/>
<id>urn:sha1:e3d372aea86df4b3a848c0c454b364febca825d6</id>
<content type='text'>
Fixes #69941

Change-Id: Icc3c88d57c14fa9ca203c693d67f144686fed8cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/621076
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>encoding/xml: allow ]]&gt; in attribute values</title>
<updated>2024-09-04T13:33:11Z</updated>
<author>
<name>Demi Marie Obenour</name>
<email>demi@invisiblethingslab.com</email>
</author>
<published>2024-09-03T01:33:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=794b0a07483fdae7125f325d34fbea6b40a67885'/>
<id>urn:sha1:794b0a07483fdae7125f325d34fbea6b40a67885</id>
<content type='text'>
This is permitted by the XML specification.

Fixes #68387

Change-Id: Ic4ab5520a08a5a997f1c3d13c6d5f80c0521e45c
GitHub-Last-Rev: 6d2ac307bbd0ba7d50830ad8b879c00cc3a7242b
GitHub-Pull-Request: golang/go#69197
Reviewed-on: https://go-review.googlesource.com/c/go/+/610056
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>all: fix a large number of comments</title>
<updated>2024-03-26T19:58:28Z</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2024-03-22T15:31:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1e12eab8705d1d8d7472be9147a39caa1c8380db'/>
<id>urn:sha1:1e12eab8705d1d8d7472be9147a39caa1c8380db</id>
<content type='text'>
Partial typo corrections, following https://go.dev/wiki/Spelling

Change-Id: I2357906ff2ea04305c6357418e4e9556e20375d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/573776
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Run-TryBot: shuang cui &lt;imcusg@gmail.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>Revert "encoding/xml: reject XML declaration after start of document"</title>
<updated>2024-03-08T18:46:41Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2024-03-08T18:25:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=32014d549609422748dcb698fef1d43a5a33b0b4'/>
<id>urn:sha1:32014d549609422748dcb698fef1d43a5a33b0b4</id>
<content type='text'>
This reverts commit 8a0fbd75a54c27ff2ae624ac2775bf752cdbceb4.

Reason for revert: Breaking real-world tests inside Google,
which means it probably breaks real-world tests outside Google.

One instance I have seen is a &lt;!-- --&gt; comment (often a copyright notice) before the procinst.

Another test checks that a canonicalizer can handle a test input that simply has procinsts mid-XML.

XML is full of contradictions, XML implementations more so. If we are going to start being picky, that probably needs to be controlled by a GODEBUG (and a proposal).

For #65691 (will reopen manually).

Change-Id: Ib52d0944b1478e71744a2a35b271fdf7e1c972ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/570175
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>encoding/xml: display closing space in error message</title>
<updated>2024-02-28T20:19:43Z</updated>
<author>
<name>Constantin Konstantinidis</name>
<email>constantinkonstantinidis@gmail.com</email>
</author>
<published>2023-10-15T15:58:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b426e9797ffffff54103db85d8cd29fe882f2262'/>
<id>urn:sha1:b426e9797ffffff54103db85d8cd29fe882f2262</id>
<content type='text'>
Fixes #48890

Change-Id: I7644d091ad92663bda52ef4905239ec499ef9207
Reviewed-on: https://go-review.googlesource.com/c/go/+/535535
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>encoding/xml: remove unnecessary fmt.Sprintf call</title>
<updated>2024-02-27T16:32:42Z</updated>
<author>
<name>guoguangwu</name>
<email>guoguangwu@magic-shield.com</email>
</author>
<published>2024-02-23T01:07:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=8b94733bc7c648da47ec312476f22d48785be277'/>
<id>urn:sha1:8b94733bc7c648da47ec312476f22d48785be277</id>
<content type='text'>
Change-Id: Iba6014340d8b697a3a26b35e8d5a702ccf332e10
GitHub-Last-Rev: ef60463c7b98c2bdabe6d04e0f86947b7f395765
GitHub-Pull-Request: golang/go#65872
Reviewed-on: https://go-review.googlesource.com/c/go/+/565841
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
</feed>
