RE: All elements not appearing in the generated XML

2008-11-13 Thread zais
48 AM > To: dev@xmlbeans.apache.org > Subject: RE: All elements not appearing in the generated XML > > > I think it would make sense for XMLBeans to automatically add a > simple-type element if it has a minOccurs>0 and a default or fixed value > (or provide an option to en

RE: All elements not appearing in the generated XML

2005-06-07 Thread Radu Preotiuc-Pietro
nt. Ian | -Original Message- | From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED] | Sent: Monday, May 23, 2005 6:37 PM | To: dev@xmlbeans.apache.org | Subject: RE: All elements not appearing in the generated XML | | Actually, no, it won't. Since there is a difference between

RE: All elements not appearing in the generated XML

2005-05-24 Thread Springer, Ian P.
nal Message- | From: Radu Preotiuc-Pietro [mailto:[EMAIL PROTECTED] | Sent: Monday, May 23, 2005 6:37 PM | To: dev@xmlbeans.apache.org | Subject: RE: All elements not appearing in the generated XML | | Actually, no, it won't. Since there is a difference between | an element being present

RE: All elements not appearing in the generated XML

2005-05-23 Thread Radu Preotiuc-Pietro
uld modify your Schema to add ... default="red" rather than modify your Java code to add ... x.addNewColor() Radu -Original Message- From: Springer, Ian P. [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 8:06 AM To: dev@xmlbeans.apache.org Subject: RE: All elements

RE: All elements not appearing in the generated XML

2005-05-23 Thread Springer, Ian P.
Have you tried setting default or fixed values in your schema? e.g.: I'm not sure if XMLBeans automatically instantiates subelements that have default or fixed values, but I would hope that it either automatically does or provides an option to do so. Ian | -Original Message- | From: