From c319825dc1404fc35785fcd134a2a0d28b3b13b4 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 14 Aug 2013 00:17:42 -0400 Subject: encoding/xml: add, support Marshaler interface See golang.org/s/go12xml for design. Fixes issue 2771. Fixes issue 4169. Fixes issue 5975. Fixes issue 6125. R=golang-dev, iant, dan.kortschak CC=golang-dev https://codereview.appspot.com/12603044 --- api/go1.1.txt | 1 - api/go1.txt | 7 ------- 2 files changed, 8 deletions(-) (limited to 'api') diff --git a/api/go1.1.txt b/api/go1.1.txt index 2362a75f9..7cde99f13 100644 --- a/api/go1.1.txt +++ b/api/go1.1.txt @@ -92,7 +92,6 @@ pkg encoding/json, method (Number) String() string pkg encoding/json, type Number string pkg encoding/xml, func EscapeText(io.Writer, []uint8) error pkg encoding/xml, method (*Encoder) Indent(string, string) -pkg encoding/xml, method (Encoder) ReadFrom(io.Reader) (int64, error) pkg encoding/xml, type Decoder struct, DefaultSpace string pkg go/ast, func NewCommentMap(*token.FileSet, Node, []*CommentGroup) CommentMap pkg go/ast, method (CommentMap) Comments() []*CommentGroup diff --git a/api/go1.txt b/api/go1.txt index 0d2e7c630..5e3dea5a3 100644 --- a/api/go1.txt +++ b/api/go1.txt @@ -2425,13 +2425,6 @@ pkg encoding/xml, method (*UnsupportedTypeError) Error() string pkg encoding/xml, method (CharData) Copy() CharData pkg encoding/xml, method (Comment) Copy() Comment pkg encoding/xml, method (Directive) Copy() Directive -pkg encoding/xml, method (Encoder) Available() int -pkg encoding/xml, method (Encoder) Buffered() int -pkg encoding/xml, method (Encoder) Flush() error -pkg encoding/xml, method (Encoder) Write([]uint8) (int, error) -pkg encoding/xml, method (Encoder) WriteByte(uint8) error -pkg encoding/xml, method (Encoder) WriteRune(int32) (int, error) -pkg encoding/xml, method (Encoder) WriteString(string) (int, error) pkg encoding/xml, method (ProcInst) Copy() ProcInst pkg encoding/xml, method (StartElement) Copy() StartElement pkg encoding/xml, method (UnmarshalError) Error() string -- cgit v1.2.1