geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "alex322 (JIRA)" <j...@apache.org>
Subject [jira] Created: (XBEAN-96) Enum properties appear as elements not attributes in the xsd schema
Date Thu, 18 Oct 2007 17:44:50 GMT
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.


Mime
View raw message