users@jaxb.java.net

minoccurs on primative types

From: jaspa <jason.panting_at_btinternet.com>
Date: Tue, 19 Aug 2008 03:30:06 -0700 (PDT)

Hi,

I am using schemagen to create my xsd. It appears that minoccurs can not be
set on primative types, e.g.

Interger i => minoccurs="0"
int i => no minoccurs

I have tried using the @XmlElement(required=false) to force minoccurs=0, but
this did not work

Is this expected behaviour?

Thanks,
Jason
-- 
View this message in context: http://www.nabble.com/minoccurs-on-primative-types-tp19047817p19047817.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.