Hi there,
When I call setCity(null) on the address object, xmlbeans  give me a  <S:City xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" /> 
Whic I don't want becuase the schema for the City element is not nillable.  Being an optional elment, I expect xml will just give me a normal empty element or not adding the City element. It looks like xmlbeans by default treat a null argument as a nil elment on setters. Is there method set***City which will ignore the the call when City is not nillable and the passed value is null?
Thanks,
 

Reply via email to