- If you have a facet like <xsd:minLength value="5" fixed="true" />, you should\r
- be able to have <xsd:minLength value="5" /> in restrictions of it, as long as\r
- the values are the same. MS says: \r
- "Base type has {fixed} equal to true."\r
+ If you have a facet like <xsd:minLength value="5" fixed="true" />, \r
+ you should be able to have <xsd:minLength value="5" /> in \r
+ restrictions of it, as long as the values are the same. MS says: \r
+ "Base type has {fixed} equal to true."\r
+\r
+ XML-Schema part2 Datatype, 4.3.2.1: \r
+ "If {fixed} is true, then types for which the current type is the\r
+ {base type definition} cannot specify a value for minLength other than\r
+ {value}."\r
+\r
+ Which implies that you can specify a value for minLength that is the\r
+ same as {value}.\r
+\r
+(MS: This is bug.)\r
+\r
+\r
+013. Some facets are incorrectly allowed for list simple type.\r
+\r
+ As to structures spec 3.14.6 Derivation Valid (Simple) 2.2, only length,\r
+ minLength, maxLength, pattern and enumeration are allowed. However, MS\r
+ implementation allows whitespace (and possibly and so on).\r
+\r
+(MS: "whitespace" is incorrectly allowed. It is bug.)\r
+\r
+\r
+<del>014. Incorrectly disallowed mixed derivation with empty content from\r
+elementOnly</del>\r
+\r
+ [Update] MS team pointed out that XSD Errata replaced -explicit \r
+ content- with -effective content- . Thus, such schema should be\r
+ rejected. (See E1-5 of http://www.w3.org/2001/05/xmlschema-errata .)\r
+\r
+ When a complexType whose mixed='true' and -explicit content- is empty,\r
+ and is derived from a complexType whose {content type} is ElementOnly,\r
+ MS.NET rejects such schema. But 3.4.2 (complex content Schema\r
+ Component) especially 2.1 of {content type} does not say it is an error.\r
+\r
+ Related msxsdtest: ctF008.xsd\r
+\r
+\r
+015. Included schema ignores incorrect element name which belongs to \r
+XmlSchema.Namespace\r
+\r
+ MS Schema compiler fails to catch an error when an incorrect schema\r
+ (such as below) is included by any other schemas:\r
+\r
+ <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>\r
+ <xs:foo />\r
+ </xs:schema>\r