Quantcast
Channel: JAXB retrieve inner element with namespace (returns blank) - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Jemshit for JAXB retrieve inner element with namespace (returns blank)

1) Error was @field:XmlElement instead of @XmlElementThis is kotlin property/field distinction error.From@XmlAccessorType(XmlAccessType.FIELD)data class Author(@XmlElement(namespace =...

View Article



JAXB retrieve inner element with namespace (returns blank)

I want to unmarshal<item><a10:author><a10:name>AuthorName</a10:name></a10:author></item>todata class Item(val author:String)if possible, by reading author/name into...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images