Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.3
-
Fix Version/s: 1.3.1
-
Component/s: Annotations
-
Labels:None
Description
If one is using the @XStreamConverter annotation on a field, XStream seems to ignore @XStreamAsAttribute altogether, and only reacts to an element, not an attribute.
Issue Links
- depends upon
-
XSTR-489 @XStreamConverter only takes implementations of Converter; should support SingleValueConverters too
No wonder, you have to provide a SingleValueConverter to ba able to render a value as attribute. However, this was not possible at all with @XStreamConverter in version 1.3. Next version provides this functionality though.