Enum properties appear as elements not attributes in the xsd schema
-------------------------------------------------------------------

                 Key: XBEAN-96
                 URL: https://issues.apache.org/jira/browse/XBEAN-96
             Project: XBean
          Issue Type: Bug
          Components: spring
            Reporter: alex322


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"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to