diff --git a/oval/types.go b/oval/types.go
index <HASH>..<HASH> 100644
--- a/oval/types.go
+++ b/oval/types.go
@@ -56,6 +56,7 @@ type Criterion struct {
 
 // Affected : >definitions>definition>metadata>affected
 type Affected struct {
+	XMLName   xml.Name `xml:"affected"`
 	Family    string   `xml:"family,attr"`
 	Platforms []string `xml:"platform"`
 }
add XMLName to struct Affected