]> Cypherpunks repositories - gostls13.git/commit
introduce non-strict mode in xml parser,
authorRuss Cox <rsc@golang.org>
Mon, 12 Oct 2009 06:51:46 +0000 (23:51 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 12 Oct 2009 06:51:46 +0000 (23:51 -0700)
commitd0aac0ace143e7936e914a49323193e15136dbee
tree566631aff92d3ed507a84fd04025e3fd62c38b33
parentfcdba72d2ad3146ca83658206fc267a763a0a419
introduce non-strict mode in xml parser,
good enough to parse some html.

in reader, add "comment" tag to collect
comment text.

do not allocate during Unmarshal unless pointer is nil.

R=r
DELTA=441  (416 added, 1 deleted, 24 changed)
OCL=35586
CL=35594
src/pkg/xml/read.go
src/pkg/xml/xml.go