mirror of
https://github.com/golang/go
synced 2024-11-18 04:44:46 -07: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
@ -48,6 +48,8 @@ const (
|
|||||||
// field name in the XML element.
|
// field name in the XML element.
|
||||||
// - a field with tag ",chardata" is written as character data,
|
// - a field with tag ",chardata" is written as character data,
|
||||||
// not as an XML element.
|
// 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
|
// - a field with tag ",innerxml" is written verbatim, not subject
|
||||||
// to the usual marshalling procedure.
|
// to the usual marshalling procedure.
|
||||||
// - a field with tag ",comment" is written as an XML comment, not
|
// - a field with tag ",comment" is written as an XML comment, not
|
||||||
|
Loading…
Reference in New Issue
Block a user