From: Andrew Gerrand Date: Fri, 1 Nov 2013 00:28:07 +0000 (+1100) Subject: [release-branch.go1.2] encoding/xml: fix doc comment X-Git-Tag: go1.2rc3~9 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6ab0f588a89ecde66607c0dcefd44de2b9a47dd0;p=gostls13.git [release-branch.go1.2] encoding/xml: fix doc comment ««« CL 19300046 / 5ac568b9d67b encoding/xml: fix doc comment The tag is ",chardata" not "chardata". Fixes #6631. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/19300046 »»» R=golang-dev CC=golang-dev https://golang.org/cl/20060045 --- diff --git a/src/pkg/encoding/xml/read.go b/src/pkg/encoding/xml/read.go index da7ad3baed..8890508f85 100644 --- a/src/pkg/encoding/xml/read.go +++ b/src/pkg/encoding/xml/read.go @@ -53,7 +53,7 @@ import ( // Unmarshal records the attribute value in that field. // // * If the XML element contains character data, that data is -// accumulated in the first struct field that has tag "chardata". +// accumulated in the first struct field that has tag ",chardata". // The struct field may have type []byte or string. // If there is no such field, the character data is discarded. //