diff options
author | Miguel de Icaza <miguel@gnome.org> | 2007-01-24 03:18:49 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2007-01-24 03:18:49 +0300 |
commit | 14001b2b7ee1d2ddcd8898b3903beb9deb90e106 (patch) | |
tree | 0e82c91173ef24c2031dc389b0340f7a66a2c003 /mcs/class/System.XML/System.Xml.Schema | |
parent | bfa8c5d260b43831b0de38b4e5e7c924e3c826f3 (diff) |
Cosmetic: fix spelling; patch from David Mitchell
svn path=/trunk/mcs/; revision=71571
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Schema')
-rw-r--r-- | mcs/class/System.XML/System.Xml.Schema/XmlSchemaInference.cs | 2 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml.Schema/XmlSchemaInferenceDesign.txt | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaInference.cs b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaInference.cs index 02ac9141f82..7ad7a3dd4f3 100644 --- a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaInference.cs +++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaInference.cs @@ -1003,7 +1003,7 @@ namespace System.Xml.Schema return QNameString; switch (value) { - // 0 and 1 are not infered as byte unlike MS.XSDInfer + // 0 and 1 are not inferred as byte unlike MS.XSDInfer // case "0": // case "1": case "true": diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaInferenceDesign.txt b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaInferenceDesign.txt index 8af2a48dde3..691581b0c3d 100644 --- a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaInferenceDesign.txt +++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaInferenceDesign.txt @@ -65,7 +65,7 @@ For example, it keeps elementFormDefault and attributeFormDefault. Basically it will process the XmlReader with existing XmlSchemaSet - and won't "merge" two XmlSchemaSets one of which is newly infered + and won't "merge" two XmlSchemaSets one of which is newly inferred from this XmlReader. Because anyways the XmlReader will have to infer sequential nodes (siblings). @@ -142,10 +142,10 @@ <ul> - If the content type was simpleType, then it is changed into complexType with complexContent and mixed='true'. - The infered content particle must be optional. + The inferred content particle must be optional. - If the content type was empty, then it is changed into complexType with complexContent (it is not mixed unlike - above). The infered content particle must be optional. + above). The inferred content particle must be optional. - If the content type was elementOnly or mixed, no need to change. </ul> @@ -181,7 +181,7 @@ (none != empty). </ul> - - When the target element is infered in a new element + - When the target element is inferred in a new element definition, then </ul> @@ -284,7 +284,7 @@ (Actually inference is done from non post compilation information.) - Note that type relaxation happens only when it is infered as textOnly + Note that type relaxation happens only when it is inferred as textOnly and it always occurs. @@ -292,7 +292,7 @@ ** Type inference - All data types are infered from string value; either element content + All data types are inferred from string value; either element content or attribute value. @@ -317,8 +317,8 @@ related schema types. - If if did not match any kind of predefined types, then - xs:string is infered. No other string-based types (such - as xs:token) are infered. + xs:string is inferred. No other string-based types (such + as xs:token) are inferred. </ul> @@ -337,7 +337,7 @@ for unsignedShort </ul> - Here, the new string value is infered into a simpleType, and then + Here, the new string value is inferred into a simpleType, and then the processor will compute the most specific common type between - the existing type and the newly infered type. + the existing type and the newly inferred type. |