RE: Element default problem

This is due to a bug in MSXML. 

-- 
PITHY WORDS OF WISDOM 
Identical units which test in an identical fashion will not behave in an
identical fashion in the field.                               

This posting is provided "AS IS" with no warranties, and confers no
rights. 

>  
>  
> -----Original Message-----
> From: Gabriele Zannoni [mailto:gzannoni@deis.unibo.it] 
> Sent: Wednesday, February 12, 2003 3:13 AM
> To: xmlschema-dev@w3.org
> 
> 
> 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 16:12:52 UTC