jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • XStream
  • XSTR-520

XML with attribute call 'reference'

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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

Bug - A problem which impairs or prevents the functions of the product. XSTR-448 Cannot use "class" as an attribute alias

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
Hide
Permalink
Joerg Schaible added a comment - 18/Sep/08 3:44 PM

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.

Show
Joerg Schaible added a comment - 18/Sep/08 3:44 PM 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.
Hide
Permalink
Joerg Schaible added a comment - 01/Dec/08 4:07 PM

Closed after receiving no further comment.

Show
Joerg Schaible added a comment - 01/Dec/08 4:07 PM Closed after receiving no further comment.

People

  • Assignee:
    Joerg Schaible
    Reporter:
    Juan Alonso Cadierno
Vote (0)
Watch (0)

Dates

  • Created:
    18/Sep/08 3:17 PM
    Updated:
    01/Dec/08 4:07 PM
    Resolved:
    18/Sep/08 3:44 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.