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