-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
XML parsing doesn't work at all. The struct tags for XML are all of the form
`xml:"tag"`
but the values are taken from the "value" attribute. The problem is that it is not possible to specify that the value for an element is taken from an attribute of the same element. It is only possible to specify that the value of a field of the element is taken from an attribute. As a result, the struct tags don't correspond to the XML format, and parsing fails. See this Stackoverflow discussion for details.
The solution seems to be to implement a custom unmarshaller/marshaller for XML that is aware of this usage of the "value" attribute.
Metadata
Metadata
Assignees
Labels
No labels