Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 54bdfc0

Browse files
committedAug 14, 2013
encoding/xml: add, support Marshaler interface
See golang.org/s/go12xml for design. Repeat of CL 12603044, which was submitted accidentally and then rolled back. Fixes golang#2771. Fixes golang#4169. Fixes golang#5975. Fixes golang#6125. R=golang-dev CC=golang-dev https://golang.org/cl/12919043
1 parent 84b0842 commit 54bdfc0

File tree

4 files changed

+404
-97
lines changed

4 files changed

+404
-97
lines changed
 

‎api/go1.1.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ pkg encoding/json, method (Number) String() string
9292
pkg encoding/json, type Number string
9393
pkg encoding/xml, func EscapeText(io.Writer, []uint8) error
9494
pkg encoding/xml, method (*Encoder) Indent(string, string)
95-
pkg encoding/xml, method (Encoder) ReadFrom(io.Reader) (int64, error)
9695
pkg encoding/xml, type Decoder struct, DefaultSpace string
9796
pkg go/ast, func NewCommentMap(*token.FileSet, Node, []*CommentGroup) CommentMap
9897
pkg go/ast, method (CommentMap) Comments() []*CommentGroup

‎api/go1.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2425,13 +2425,6 @@ pkg encoding/xml, method (*UnsupportedTypeError) Error() string
24252425
pkg encoding/xml, method (CharData) Copy() CharData
24262426
pkg encoding/xml, method (Comment) Copy() Comment
24272427
pkg encoding/xml, method (Directive) Copy() Directive
2428-
pkg encoding/xml, method (Encoder) Available() int
2429-
pkg encoding/xml, method (Encoder) Buffered() int
2430-
pkg encoding/xml, method (Encoder) Flush() error
2431-
pkg encoding/xml, method (Encoder) Write([]uint8) (int, error)
2432-
pkg encoding/xml, method (Encoder) WriteByte(uint8) error
2433-
pkg encoding/xml, method (Encoder) WriteRune(int32) (int, error)
2434-
pkg encoding/xml, method (Encoder) WriteString(string) (int, error)
24352428
pkg encoding/xml, method (ProcInst) Copy() ProcInst
24362429
pkg encoding/xml, method (StartElement) Copy() StartElement
24372430
pkg encoding/xml, method (UnmarshalError) Error() string

0 commit comments

Comments
 (0)
Please sign in to comment.