diff --git a/icon.go b/icon.go index 2be01e6..f9cc383 100644 --- a/icon.go +++ b/icon.go @@ -7,7 +7,7 @@ import ( type Icon struct { *CommonAttributes - URI IRI `xml:"uri"` + URI IRI `xml:",chardata"` } // NewIcon creates a new Icon. It returns a *Icon. diff --git a/logo.go b/logo.go index 94463e1..578f436 100644 --- a/logo.go +++ b/logo.go @@ -9,7 +9,7 @@ import ( type Logo struct { *CommonAttributes - URI IRI `xml:"uri"` + URI IRI `xml:",chardata"` } // NewLogo creates a new Logo. It returns a *Logo.