dotdoom/goxmpp — pull request #5 by azl (2014-03-11 10:02:43+00:00)
Title: Added CDATA parsing for cases when struct itself doesn't cover this

This code covers cdata which is not handled by type specific UnmarshalXML. For "final" tags, meaning those tag which don't have any inner tags which should be parsed by our parser and they don't implement xml.Unmarshaler interface - this CDATA will be unmarshaled automatically by xml.Decoder (provided that it is correctly described in struct tags).