• Chris Jones's avatar
    encoding/xml: Marshal ",any" fields · a9121a19
    Chris Jones authored
    Fixes #3559.
    
    This makes Marshal handle fields marked ",any" instead of ignoring
    them. That makes Marshal more symmetrical with Unmarshal, which seems
    to have been a design goal.
    
    Note some test cases were changed, because this patch changes
    marshalling behavior. I think the previous behavior was buggy, but
    there's still a backward-compatibility question to consider.
    
    R=rsc
    CC=golang-dev, n13m3y3r
    https://golang.org/cl/6938068
    a9121a19
Name
Last commit
Last update
..
atom_test.go Loading commit data...
example_test.go Loading commit data...
marshal.go Loading commit data...
marshal_test.go Loading commit data...
read.go Loading commit data...
read_test.go Loading commit data...
typeinfo.go Loading commit data...
xml.go Loading commit data...
xml_test.go Loading commit data...