diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2005-08-26 00:06:56 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2005-08-26 00:06:56 +0400 |
commit | d0064c84301839add6a7740a73c98322201e0838 (patch) | |
tree | 905e61a8d958926c2890fb32f7914ccaf2c98455 /mcs/class/System.XML/System.Xml.Schema | |
parent | 5687aa390625ae8e4fbe12220ee95c63e870967c (diff) |
2005-08-25 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaSimpleTypeRestriction.cs : normalize EOL.
Remove non-ASCII letters.
svn path=/trunk/mcs/; revision=48856
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Schema')
-rw-r--r-- | mcs/class/System.XML/System.Xml.Schema/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs | 46 |
2 files changed, 28 insertions, 23 deletions
diff --git a/mcs/class/System.XML/System.Xml.Schema/ChangeLog b/mcs/class/System.XML/System.Xml.Schema/ChangeLog index a64ea1b2a3f..de00b0419cb 100644 --- a/mcs/class/System.XML/System.Xml.Schema/ChangeLog +++ b/mcs/class/System.XML/System.Xml.Schema/ChangeLog @@ -1,3 +1,8 @@ +2005-08-25 Atsushi Enomoto <atsushi@ximian.com> + + * XmlSchemaSimpleTypeRestriction.cs : normalize EOL. + Remove non-ASCII letters. + 2005-08-08 Atsushi Enomoto <atsushi@ximian.com> * XmlSchemaComplexType.cs : Fixed ValidateTypeDerivationOK (complex) diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs index a0700d7d1a6..567efb887d5 100644 --- a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs +++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs @@ -1,26 +1,26 @@ // Author: Dwivedi, Ajay kumar
// Adwiv@Yahoo.com
- -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// +
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
using System;
using System.Collections;
using System.Text;
@@ -389,7 +389,7 @@ namespace System.Xml.Schema errorCount += type.Validate (h, schema);
actualBaseSchemaType = type;
} else if (baseTypeName == XmlSchemaComplexType.AnyTypeName) {
- actualBaseSchemaType = XmlSchemaSimpleType.AnySimpleType; + actualBaseSchemaType = XmlSchemaSimpleType.AnySimpleType;
} else if (baseTypeName.Namespace == XmlSchema.Namespace ||
baseTypeName.Namespace == XmlSchema.XdtNamespace) {
actualBaseSchemaType = XmlSchemaDatatype.FromName (baseTypeName);
@@ -410,7 +410,7 @@ namespace System.Xml.Schema ValidationEventHandler h) {
if (totf != null) {
/* totalDigits is the maximum number of digits in values of datatypes
- * ·derived· from decimal. The value of totalDigits ·must· be a
+ * derived from decimal. The value of totalDigits must be a
* positiveInteger. */
try {
decimal newTotalDigits = decimal.Parse (totf.Value.Trim (), lengthStyle, CultureInfo.InvariantCulture);
|