Can we please split this into two CLs, one for encoding and one for
decoding? Perhaps move the decoding to the new CL.
I don't believe the decoder should need any changes at all, except
perhaps to set the default xml and xmlns meanings.
https://codereview.appspot.com/6868044/diff/23001/src/pkg/encoding/xml/xml.go
File src/pkg/encoding/xml/xml.go (right):
https://codereview.appspot.com/6868044/diff/23001/src/pkg/encoding/xml/xml.go#newcode165
src/pkg/encoding/xml/xml.go:165: // context provides the namespace
context, for use in the
I'm a little confused. The current decoder already tracks name spaces.
Does the current code not work? I believe it does, in which case we can
leave this file alone.
https://codereview.appspot.com/6868044/