blob: ad4ece9c9102c65c30915cad6c92201b677c7b6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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>
|