Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for 209371: eclipselink.core mOXy: Marshal of EMPTY_STRING DirectMapping field should not return nullValue outside of NullPolicy default

Everyone,
    See bug and eclipselink.core patch
 
 
    Problem:
    During marshal of a directMapping with a nullValue of "" that is marshalled out using a DOM marshaller - it should not be converted to the nullValue by default (which may be null).  The NullPolicy should be used to fine tune behavior.
   
    Test suite:
    Added to directtofield.defaultnullvalue - added EmptyElement|Attribute test cases to the existing Missing/AbsetAttribute|Element cases.
 
    Design Reviewed by Blase, Denise
    Code Reviewed by Blaise
   
 
    Pending larger EclipseLink review - to commit on Monday.
 
/michael

Back to the top