[jboss-jira] [JBoss JIRA] Closed: (JBXB-151) @JBossXmlValue(ignoreEmptyString=false)

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Mon Sep 8 08:14:38 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBXB-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Loubyansky closed JBXB-151.
----------------------------------

    Resolution: Done


Done.

> @JBossXmlValue(ignoreEmptyString=false)
> ---------------------------------------
>
>                 Key: JBXB-151
>                 URL: https://jira.jboss.org/jira/browse/JBXB-151
>             Project: JBoss XML Binding (JBossXB)
>          Issue Type: Feature Request
>            Reporter: Alexey Loubyansky
>            Assignee: Alexey Loubyansky
>             Fix For: JBossXB-2.0.0.CR13
>
>
> There are cases when it is desirable to get empty string as the value of the simple content of a complex type element when the actual simple content is absent. Currently, this is the default only for simple types, like xsd:string while for complex types the simple content value would be null.
> TypeBinding could have a property that would control which value to return in case of empty simple content. Also, an annotation, e.g. @JBossXmlValue(ignoreEmptyString=false), could be added to set the TypeBinding property.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list