Issue Details (XML | Word | Printable)

Key: XBEAN-96
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: alex322
Votes: 0
Watchers: 0
Available Workflow Actions

Begin RTC Review
Operations

If you were logged in you would be able to see more operations.
XBean

Enum properties appear as elements not attributes in the xsd schema

Created: 18/Oct/07 05:43 PM   Updated: 28/Feb/08 11:29 PM
Return to search
Component/s: spring
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
XsdGenerator makes a decision on whether a property is going to be an attribute or an element based on Util.isSimpleType
isSimpleType doesn't have a specific check for Enums.
Moreover I think it may make sense to allow attributes for complex properties to support references:

<util:list id="mylist"....
<my:mybean id="mybean" list="#mylist"/>



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.