# HG changeset patch # User Chris Jones # Date 1355703021 25200 # Node ID 3a01bd8e3f8ced346eea51d85fc56ba7b90b08a0 # Parent ffb9d27fea79be92d0607b9b3f3ee08b0d3b6b40 Fixed up some more attribute labels. diff -r ffb9d27fea79 -r 3a01bd8e3f8c structs.go --- a/structs.go Sun Dec 16 17:10:03 2012 -0700 +++ b/structs.go Sun Dec 16 17:10:21 2012 -0700 @@ -68,13 +68,13 @@ } type mechs struct { - Mechanism []string + Mechanism []string `xml:"urn:ietf:params:xml:ns:xmpp-sasl mechanism"` } type auth struct { XMLName xml.Name - Chardata string `xml:"chardata"` - Mechanism string `xml:"attr"` + Chardata string `xml:",chardata"` + Mechanism string `xml:"mechanism,attr"` Any *Generic }