]> Cypherpunks repositories - gostls13.git/commit
encoding/xml: remove Marshaler support
authorGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 24 Jan 2012 23:51:15 +0000 (21:51 -0200)
committerGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 24 Jan 2012 23:51:15 +0000 (21:51 -0200)
commit66599c40709cb74da2e3ae243e1f42ac9bacf263
tree225c44a9f684ff2195afa845fb27a25cb9624845
parentddd67f2ecd1c100c48563addf4293bfe6dc7535f
encoding/xml: remove Marshaler support

Marshaler has a number of open areas that need
further thought (e.g. it doesn't handle attributes,
it's supposed to handle tag names internally but has
no information to do so, etc).

We're removing it now and will bring it back with an
interface that covers these aspects, after Go 1.

Related to issue 2771, but doesn't fix it.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5574057
src/pkg/encoding/xml/marshal.go
src/pkg/encoding/xml/marshal_test.go