Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.3
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
JDK version and platform:1.6.0_06 for Windows
Description
When a xml file has an attribute call 'reference' XStream fails. It was solved modifying AbstractReferenceMarshaller and AbstractReferenceUnmarshaller in line:
writer.addAttribute(getMapper().aliasForAttribute("reference")... changing it to: writer.addAttribute(getMapper().aliasForAttribute("xstreamreference")...
Check if it's a good solution.
I was playing with XStream and .psf files from eclipse(to work with project sets). PSFs has a reference attribute.
Issue Links
- duplicates
-
XSTR-448 Cannot use "class" as an attribute alias
-
reference is an internally used attribute, that cannot be replaced currently by configuration. However, that is true for other attributes also and therefore the issue is a duplicate. See liked issue.