Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Does MSXML4.0 handle xsi:nil

I'm trying to validate an XML with a root element having an attribute xsi:nil="true"
as

<Person xsi:noNamespaceSchemaLocation="rbs.xsd" xsi:nil="true" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

and the schema is
<xsd:schema xmlns:xsd="htpp://www.w3.org/2001/XMLSchema">
<xsd:element name="Person" nillable="true">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>

has anyone encountered the problem when validating the XML?

Thanks
[685 byte] By [rbs] at [2007-11-9 15:25:58]