C
csharpula csharp
Hello I keep getting such error:
The 'http://www.w3.org/2001/XMLSchema:restriction' element is not
supported in this context.
for the following xsd element:
<xs:element name="Name" type="xs:NCName">
<xs:restriction base="xs:string">
<xs:enumeration value="Audi"/>
<xs:enumeration value="Golf"/>
<xs:enumeration value="BMW"/>
</xs:restriction>
</xs:element>
Why is that? Thank you
The 'http://www.w3.org/2001/XMLSchema:restriction' element is not
supported in this context.
for the following xsd element:
<xs:element name="Name" type="xs:NCName">
<xs:restriction base="xs:string">
<xs:enumeration value="Audi"/>
<xs:enumeration value="Golf"/>
<xs:enumeration value="BMW"/>
</xs:restriction>
</xs:element>
Why is that? Thank you