equal
deleted
inserted
replaced
41 var _ fmt.Stringer = &stream{} |
41 var _ fmt.Stringer = &stream{} |
42 |
42 |
43 // <stream:error> |
43 // <stream:error> |
44 // BUG(cjyar) Can this be consolidated with Error? Hide it if not. |
44 // BUG(cjyar) Can this be consolidated with Error? Hide it if not. |
45 type StreamError struct { |
45 type StreamError struct { |
46 Any definedCondition |
46 Any Generic |
47 Text *errText |
47 Text *errText |
48 } |
48 } |
49 var _ xml.Marshaler = &StreamError{} |
49 var _ xml.Marshaler = &StreamError{} |
50 |
|
51 // BUG(cjyar) Replace this with Generic. |
|
52 type definedCondition struct { |
|
53 // Must always be in namespace nsStreams |
|
54 XMLName xml.Name |
|
55 Chardata string `xml:"chardata"` |
|
56 } |
|
57 |
50 |
58 type errText struct { |
51 type errText struct { |
59 Lang string `xml:"attr"` |
52 Lang string `xml:"attr"` |
60 Text string `xml:"chardata"` |
53 Text string `xml:"chardata"` |
61 } |
54 } |