geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Commented: (XBEAN-136) xsd generator needs to be aware of @org.apache.xbean.Property propertyEditor feature so that types with propertyEditors are mapped to strings
Date Mon, 07 Sep 2009 15:12:57 GMT

    [ https://issues.apache.org/jira/browse/XBEAN-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752164#action_12752164
] 

Gary Tully commented on XBEAN-136:
----------------------------------

fyi: this is relevant to activemq.xml auto generation: https://issues.apache.org/activemq/browse/AMQ-2342

> xsd generator needs to be aware of @org.apache.xbean.Property propertyEditor feature
so that types with propertyEditors are mapped to strings
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XBEAN-136
>                 URL: https://issues.apache.org/jira/browse/XBEAN-136
>             Project: XBean
>          Issue Type: Bug
>          Components: spring
>    Affects Versions: 3.5
>            Reporter: Gary Tully
>         Attachments: xbean-136.diff.patch
>
>
> with {code}+    /**
> +    * @org.apache.xbean.Property propertyEditor="org.apache.xbean.spring.example.MilliLittersPropertyEditor"
> +    */
> +    public void setVolumeWithPropertyEditor(long volume) {
> +    	this.volume = volume;
> +    }
> {code}
> the generated xsd needs to map the attribute type to string to allow "X ml" to be valid
against the schema. Otherwise, any xml that uses the string representation and utilises the
propertyEditor will not validate.

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