CXF/JAXB and nillable values

2010-10-13 Thread Yiannis Mavroukakis
Hello everyone :) I've got a question with regards to nillable values. I've looked around and I've noticed that most people's solution is to use the nillable attribute in their schema. However, I'm taking a code first approach, so what I've tried to do is to ad...@xmlelement(nillable=true) to

Re: CXF/JAXB and nillable values

2010-10-13 Thread Daniel Kulp
On Wednesday 13 October 2010 2:40:13 pm Yiannis Mavroukakis wrote: Hello everyone :) I've got a question with regards to nillable values. I've looked around and I've noticed that most people's solution is to use the nillable attribute in their schema. However, I'm taking a code first

Re: CXF/JAXB and nillable values

2010-10-13 Thread Yiannis Mavroukakis
Hi Daniel, Aah yes silly me of course, the presence of the element indicates an empty value! Thanks, Yiannis On 13 October 2010 22:08, Daniel Kulp dk...@apache.org wrote: On Wednesday 13 October 2010 2:40:13 pm Yiannis Mavroukakis wrote: Hello everyone :) I've got a question with regards to