@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