--- a/structs.go Wed Dec 28 13:24:08 2011 -0700
+++ b/structs.go Wed Dec 28 13:28:45 2011 -0700
@@ -43,18 +43,11 @@
// <stream:error>
// BUG(cjyar) Can this be consolidated with Error? Hide it if not.
type StreamError struct {
- Any definedCondition
+ Any Generic
Text *errText
}
var _ xml.Marshaler = &StreamError{}
-// BUG(cjyar) Replace this with Generic.
-type definedCondition struct {
- // Must always be in namespace nsStreams
- XMLName xml.Name
- Chardata string `xml:"chardata"`
-}
-
type errText struct {
Lang string `xml:"attr"`
Text string `xml:"chardata"`