X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.XML%2FSystem.Xml.Schema%2FXmlSchemaMaxLengthFacet.cs;h=f68134a57521307a2e060ad5164f256bdc861147;hb=018c4be8c5ef6e23ccd9bf798513a6178631e1ea;hp=af96e227ac85414a927821a09cb5d7e7aee2660c;hpb=0ebca37f5db6c74a6162ae443e507dff5540c64a;p=mono.git diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxLengthFacet.cs b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxLengthFacet.cs index af96e227ac8..f68134a5752 100755 --- a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxLengthFacet.cs +++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxLengthFacet.cs @@ -1,5 +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. +// using System; using System.Xml; @@ -10,7 +31,7 @@ namespace System.Xml.Schema /// public class XmlSchemaMaxLengthFacet : XmlSchemaNumericFacet { - private static string xmlname = "maxLength"; + const string xmlname = "maxLength"; public XmlSchemaMaxLengthFacet() {