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)
Signup
castor
  • castor
  • CASTOR-1150 castor fails to unmarshall valid inst...
  • CASTOR-2212

Additional cleanup

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1.2.1
  • Fix Version/s: 1.2
  • Component/s: XML
  • Labels:
    None
  • Number of attachments :
    0

Description

The patch I provided introduces only the necessary changes to solve the issue.

The detection of introduced container states for choices in the UnmarshalHandler is a bit quick and dirty
The XMLClassDescriptor interface must be extended to expose method "isChoice()" from XMLClassDescriptorImpl.
However this will affect many implementing classes (more than a dozen) since the is no common base class.

For a couple of other methods, a common base class for most/all of the implementing classes makes probably sense, too.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Werner Guttmann added a comment - 07/Nov/07 2:40 AM

Moving the exposition of the isChoice() method at the XMLClassDescriptor interface to a separate issue.

Show
Werner Guttmann added a comment - 07/Nov/07 2:40 AM Moving the exposition of the isChoice() method at the XMLClassDescriptor interface to a separate issue.

People

  • Assignee:
    Werner Guttmann
    Reporter:
    Steven Dolg
Vote (0)
Watch (0)

Dates

  • Created:
    30/Oct/07 11:49 AM
    Updated:
    14/Mar/08 6:41 AM
    Resolved:
    07/Nov/07 3:13 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.