1
0
mirror of https://github.com/golang/go synced 2024-10-03 21:21:22 -06:00
go/src
Gustavo Niemeyer c52ad23461 xml: handle tag paths through the same element
With the current implementation, xml unmarshalling
will silently fail to unmarshal any paths passing
through the same element, such as:

type T struct {
	A string "dummy>a"
	B string "dummy>b"
}

This change tweaks the algorithm so that this works
correctly.

Also, using paths that would cause the same element to
unmarshal twice will error out ahead of time explaining
the problem, rather than silently misbehaving.

R=rsc
CC=golang-dev
https://golang.org/cl/4082041
2011-01-19 15:43:58 -05:00
..
cmd 5a, 5l, 6a, 6l, 8a, 8l: handle out of memory, large allocations 2011-01-19 15:30:26 -05:00
lib9 libutf: update to Unicode 5.2.0 to match pkg/unicode 2010-11-01 16:14:48 -04:00
libbio build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libmach libmach: detail for darwin errors 2010-11-05 23:03:53 -04:00
pkg xml: handle tag paths through the same element 2011-01-19 15:43:58 -05:00
all.bash build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
clean.bash fix build: more libcgo references 2010-12-08 14:36:45 -05:00
env.bash env.bash: more quoting in case of spaces 2010-11-05 23:04:08 -04:00
make.bash build: add a few missing --no-print-directory 2010-12-13 15:50:57 -05:00
Make.ccmd build: remove intermediate yacc files in Make.ccmd 2010-12-14 12:22:40 -05:00
Make.clib build: Allow archiver to be specified in the environment with HOST_AR. 2010-12-07 15:28:26 -05:00
Make.cmd Make.cmd: remove $(OFILES) 2010-10-11 22:39:37 -04:00
Make.common build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
Make.inc remove nacl 2010-12-15 11:49:23 -05:00
Make.pkg Make.pkg: use installed runtime.h for cgo 2011-01-06 15:15:22 -05:00
quietgcc.bash build: add GOHOSTOS and GOHOSTARCH environment variables. 2010-10-08 18:52:28 +11:00
run.bash misc/cgo/life: fix, add to build 2010-12-17 09:51:55 -08:00
sudo.bash build: no required environment variables 2010-08-18 10:08:49 -04:00
version.bash version.bash: cope with ancient Mercurial 2010-03-16 18:45:06 -07:00