@@ -49,7 +49,7 @@ type Affects struct {
49
49
}
50
50
51
51
type AttachedText struct {
52
- Content string `json:"content" xml:",innerxml "`
52
+ Content string `json:"content" xml:",chardata "`
53
53
ContentType string `json:"contentType,omitempty" xml:"content-type,attr,omitempty"`
54
54
Encoding string `json:"encoding,omitempty" xml:"encoding,attr,omitempty"`
55
55
}
@@ -205,7 +205,7 @@ type Credits struct {
205
205
206
206
type DataClassification struct {
207
207
Flow DataFlow `json:"flow" xml:"flow,attr"`
208
- Classification string `json:"classification" xml:",innerxml "`
208
+ Classification string `json:"classification" xml:",chardata "`
209
209
}
210
210
211
211
type DataFlow string
@@ -308,7 +308,7 @@ const (
308
308
309
309
type Hash struct {
310
310
Algorithm HashAlgorithm `json:"alg" xml:"alg,attr"`
311
- Value string `json:"content" xml:",innerxml "`
311
+ Value string `json:"content" xml:",chardata "`
312
312
}
313
313
314
314
type HashAlgorithm string
@@ -517,7 +517,7 @@ type Pedigree struct {
517
517
518
518
type Property struct {
519
519
Name string `json:"name" xml:"name,attr"`
520
- Value string `json:"value" xml:",innerxml "`
520
+ Value string `json:"value" xml:",chardata "`
521
521
}
522
522
523
523
type ReleaseNotes struct {
0 commit comments