Nillable enumeration, decimal and date. Are they supported?

Jan 8, 2009 at 2:00 PM
Element <root xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
against these.

-- Enumeration  --
<xsd:element name="root" nillable="true">
    <xsd:simpleType>
      <xsd:restriction base="xsd:string">
        <xsd:enumeration value="C#"/>
        <xsd:enumeration value="VB.NET"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:element>
</xsd:schema>


-- Decimal --
<xsd:element name="root" nillable="true">
    <xsd:simpleType>
      <xsd:restriction base="xsd:decimal">
            <xsd:maxInclusive value ="10"/>
      </xsd:restriction>
    </xsd:simpleType>
  </xsd:element>


Coordinator
Dec 1, 2014 at 7:06 AM
Yes.
Marked as answer by clovett on 11/30/2014 at 11:06 PM