users@jaxb.java.net

Marshal Empty Elements

From: Scott Kaszyk <kaszmanus_at_yahoo.com>
Date: Thu, 9 Jun 2005 12:06:38 -0700 (PDT)

I have a schema that defines a mandatory element (minOcc=1, maxOcc=1). JAXB represents this element as a BigInteger type.
 
When an empty element for this mandatory element is passed to the unmarshaller, it passes validation. However, I am not able to marshal back into an empty element.
 
Does anyone know how to accomplish getting past the validator and marshalling an empty element?
 
Thanks,
Scott Kaszyk

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com