mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
encoding/xml: document new chardata tag
Followup to CL 16047. For #12963. Change-Id: I596cd5109b25a4079b966427411860fde8b9b54a Reviewed-on: https://go-review.googlesource.com/17232 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
parent
bb6fb929d6
commit
92b02e3131
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ const (
|
|||
// field name in the XML element.
|
||||
// - a field with tag ",chardata" is written as character data,
|
||||
// not as an XML element.
|
||||
// - a field with tag ",cdata" is written as character data
|
||||
// wrapped in one or more <![CDATA[ ... ]]> tags, not as an XML element.
|
||||
// - a field with tag ",innerxml" is written verbatim, not subject
|
||||
// to the usual marshalling procedure.
|
||||
// - a field with tag ",comment" is written as an XML comment, not
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue