users@jaxb.java.net

Problem with mandatory elements

From: LuisCGM <yo.luisjavier_at_gmail.com>
Date: Thu, 8 May 2008 10:41:11 -0700 (PDT)

Hi all,

I have a schema with several mandatory elements, and others with minOccurs=0
(no mandatory). After generating the list of classes from that schema, I
try to parse an xml file that it does not include this mandatory elements,
the unmarshalling does not detect the error and any error is raise.

Is it possible to detect this kind of error?

Many thanks.
-- 
View this message in context: http://www.nabble.com/Problem-with-mandatory-elements-tp17130101p17130101.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.