Element default problem

Hi,
I'm experiencing a little (understanding?) problem about defaulting
elements.

If I declare an element:

<xs:element name="e2" type="xs:integer" default="12"/>

and I try to validate an instance element like this:

<e2 />

the msxml processor says that e2 is not valid. Msxml response could be right
without specifying a default, but with a default there should be no
problems.

Is there someone that can tell me where's the error?



Thanks,

Gabriele

Received on Thursday, 13 February 2003 03:15:48 UTC