Hi,

      yes, during that time was W3C XML Schema support gradually improving in
Xerces-C.

> 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
> >
> > > 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to