|
Hi Castor group, I have an element called ‘Name’ declared in my schema with nillable=”true” attribute. But I get ValidationException when I marshal this (When I call setName(null) on Castor generated src object). >From the group messages I found that passing an empty string instead of null will resolve this. Yes I tried and that helped (an empty element was created). But how does this work for date types or Integer types etc? I am using Castor 0.9.5.2.
Any help will be deeply appreciated. Thanks, Ranjith Pillai. |
- Re: [castor-dev] ValidationException: nillabe="true&q... Pillai, Ranjith
