On Wednesday 15 December 2010 8:12:20 am Ronald Müller wrote:
> hi,
> 
> thanks for your respond.
> 
> Am 14.12.2010 21:43, schrieb Daniel Kulp:
> > I think you would just need to use a java.lang.Integer.   Not really sure
> > though.  That is what jaxb maps an unsignedShort to, but when writing it,
> > I'm not sure what JAXB would do in that case.
> 
> that is exactly, what i've done. but 'java.lang.Integer' is converted to
> 'xs:int' (of course) :
> 
> <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xs="http://www.w3.org/2001/XMLSchema"; xsi:type="xs:int">11</Value>
> 
> Is there any way to explicitly set unsigned datatypes?

Honestly.  I have no idea.  You may need to post a message to the JAXB users 
list as that's really a JAXB issue.


-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog

Reply via email to