Hello, I have a question about xmlbeans with Dozer. We're having a problem with optional attributes. We have an integer that we specify in our xsd as min and max occurs as 1 and nillable="true". When we generate our java classes with xmlbeans, we expect to have an attribute of type Integer. Instead of we have int and then a method isXSet. This isn't so bad, it's better to call isXSet rather than check for null, using int is less painful than Integer, and the default value of zero is not bad (better than null pointer).
However, this doesn't work with Dozer. Dozer doesn't know about the isXSet methods and therefore the value is always zero, even if it was unset. Has anyone had this problem? Is it possible to configure xmlbeans to create an Integer so that it'd work with Dozer? Is there something to configure with Dozer so that it knows about the isXSet methods?? Thanks, Michael --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

