Closed
Description
See http://play.golang.org/p/OeSXsazIDS If you unmarshal <Param2 int="1" /> into type Param2 struct { Int *int `xml:"int,attr"` } Int will always be nil. As seen in the example, this works if Int is an element and not an attribute.