Great, that worked! I tried that using version 1.5.2 and it didn't work. Was this fixed somewhere between 1.5.2 and 1.7.0?
victoria --- Radovan Chytracek <[EMAIL PROTECTED]> wrote: > Hi, > > try as: > > <xs:element name="test" type="xs:integer" > nillable="true"/> > > Cheers > > Radovan > > > -----Original Message----- > > From: xin wang [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, 23 May 2002 21:46 > > To: [EMAIL PROTECTED] > > Subject: question about null integer > > > > > > If I define an element to be of type integer -- > > > > <xs:element name="test" type="xs:integer"/> > > > > Then I say > > > > <test></test> in the xml file. > > > > I get the following error > > > > Message: Datatype error: > > Type:InvalidDatatypeFacetException, Message: Empty > > string encountered.. > > > > Is there any way to allow empty element of integer > > type? I know I can make the element not appear > when > > it's null, or I can define it to be a string and > use > > regular expression to force all digits in the > string. > > Any better ways to handle this? > > > > Thanks, > > > > victoria > > > > __________________________________________________ > > Do You Yahoo!? > > LAUNCH - Your Yahoo! Music Experience > > http://launch.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
