Connecting Tech Pros Worldwide Forums | Help | Site Map

JAXB marshall object with null date field to blank xml element

sai krishna
Guest
 
Posts: n/a
#1: Oct 24 '08
Hi All, Here is the issue

java object has date fields that are null, I need to marshal an xml
using jaxb, but jaxb doesn't allow null values when it marshal's.
Is there any way to tell jaxb that whenever a particular date field is
null put a blank in xml?

Closed Thread