| 1234567891011121314151617181920 |
- BUGS in MS Implementation of XmlSchema:
- 1. Does not allow duplicate values in lists for final* and block* attributes.
- For example "restriction restriction" is not allowed even though its a valid
- value for blockDefault.
- 2. Resets the minOccurs to 0 if maxOccurs="0", whereas it should raise an error.
- 3. Allows abstract="true" in the a localElement whereas it is not allowed.
- <?xml version="1.0"?>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xsdtesting" xmlns:x="http://xsdtesting" elementFormDefault="qualified">
- <xsd:element name="doc">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="elem1"/>
- <xsd:element abstract="true" name="elem2"/> <!--This element is not valid -->
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
|