BUGS-MS.txt 837 B

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