Make uri in id and text in plain text xml type ",chardata"

This commit is contained in:
2024-10-17 17:14:10 +02:00
parent 657624cbd6
commit 28f5616f76
2 changed files with 2 additions and 2 deletions

2
id.go
View File

@@ -7,7 +7,7 @@ import (
type ID struct {
*CommonAttributes
URI IRI `xml:"uri"`
URI IRI `xml:",chardata"`
}
// NewID creates a new ID. It returns a *ID.