Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-07-282006-07-28 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter2.cs : fixed some indentation bugs: comments and PIs should not cause indentation override like text, cdata and whitespaces do. Fixed some error messages on node kind. * XmlTextWriter.cs, XmlTextWriterOpenElement.cs : removed old code. (I don't want to remove old great code but it confused mike today.) * XmlTextWriterTests.cs : added test case for comments, PIs and indentation. svn path=/trunk/mcs/; revision=63079
2006-02-142006-02-14 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : WriteRaw("") is not simply ignored but process state check and closes open tag. * XmlTextWriterTests.cs : added test WriteRaw("") closes open tag. svn path=/trunk/mcs/; revision=56842
2006-01-302006-01-30 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlNodeReader2.cs XmlException.cs XmlReader.cs XmlTextReader.cs XmlWriter.cs XmlTextWriter.cs XmlValidatingReader.cs XmlNodeReaderImpl.cs DTDValidatingReader.cs XmlSecureResolver.cs: cleaning up obsolete NET_1_0 code. svn path=/trunk/mcs/; revision=56239
2006-01-282006-01-28 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : avoid case-insensitive String.Compare(). Use array for openElements rather than ArrayList. svn path=/trunk/mcs/; revision=56210
2006-01-132006-01-13 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : Fixed bug #77082. When the state was Start, after WriteProcessingInstruction() and WriteWhitespace() change it to Prolog. After WriteDocType() set state to WriteState.Element. * XmlTextWriterTests.cs : added some tests for XMLdecl state check. * XslTransformTests.cs : Output_Indent_Xml_DocType() is working now. svn path=/trunk/mcs/; revision=55487
2006-01-122006-01-12 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : Do not local duplicate of automatically-created prefixes (i.e. check local autocreated prefixes other than namespaces from ancestors). Fixed bug #77086 and #77087. * XmlTextWriterTests.cs : Split AutoCreatePrefixes() and marked as Ignore rather than NotWorking. Also it is not for bug #77086 and #77077 (they were fixed). See bug #77088. svn path=/trunk/mcs/; revision=55418
2006-01-122006-01-12 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : Fixed bug #77094. Only XmlTextWriter checks such invalid "xml" prefix which is being mapped to different namespace URI than the predefined one. Removed comment that does not make sense. * XmlNamespaceManager.cs : IsValidDeclaration() could be private. Added some comments. * XmlTextWriterTests.cs : re-enabled bug #77094 related tests. svn path=/trunk/mcs/; revision=55414
2006-01-05* XmlTextWriter.cs: Modified WriteWhitespace to throw ArgumentExceptionGert Driesen
if value is null or zero-length string. Modified WriteNmToken to throw ArgumentException if name is null or zero-length string. Cosmetic change to WriteStringInternal. * XmlElement.cs: In 2.0 profile, do not throw ArgumentNullException if new value for Prefix is null. * XmlElementTests.cs: Improved tests for setting prefix to null or zero-length string. On 2.0 profile, setting prefix to null should not result in ArgumentNullException. * XmlTextWriterTests.cs: Enabled WriteNmToken tests and WriteWhitespace tests for null or zero-length value. svn path=/trunk/mcs/; revision=55115
2005-12-262005-12-26 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : when namespaceURI is String.Empty, Prefix should be just ignored (it is likely to happen that DOM nodes with empty namespace URI are specified non-empty prefix by users, which had better be just ignored). Fixed bug #77095. * XmlTextWriterTests.cs : enabled WriteStartElement_Prefix_EmptyNamespace() and NamespacesPrefixWithEmptyAndNullNamespaceEmpty(). svn path=/trunk/mcs/; revision=54850
2005-12-232005-12-23 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : When xml:space or xml:lang attribute was directly written without an element, it caused ArgumentOutOfRange. Fixed bug #77084. * XmlTextWriterTests.cs : XmlSpace_Valid() is working now. svn path=/trunk/mcs/; revision=54793
2005-12-232005-12-23 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : (WriteStartAttribute) set prefix as "xmlns" when namespaceURI is that of xmlns attributes. * XmlTextWriterTests.cs : XmlNs_Valid2() is working now. svn path=/trunk/mcs/; revision=54792
2005-12-15allow null string in WriteCDataKonstantin Triger
svn path=/trunk/mcs/; revision=54441
2005-11-102005-11-09 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlValidatingReader.cs : added CanReadBinaryContent. * XmlTextReader.cs, XmlTextReader2.cs : GetNamespacesInScope() are now both public and private (i.e. hush IsVirtual). * XmlWriterSettings.cs, XmlWriter.cs, XmlTextWriter.cs : NormalizeNewLines vanished. * XmlWriterSettingsTests.cs : NormalizeNewLines does not exist anymore svn path=/trunk/mcs/; revision=52876
2005-10-242005-10-23 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : oops, so WriteState.Error is NET_2_0 only. svn path=/trunk/mcs/; revision=52105
2005-10-242005-10-23 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : (Error state check) actually I need to set Error. * XmlNamespaceManagerTests.cs : GetNamespacesInScope() - Added test labels. Fixed counts; they count default namespaces. MS seems to have a bug on declaration removal (xmlns='') on .Local. * XmlNodeReaderTests.cs : in .NET 2.0 undeclared entity are not allowed at all, so disabled tests that depends on such references. svn path=/trunk/mcs/; revision=52101
2005-10-232005-10-23 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : throw InvalidOperationException if any of WriteBlah() methods were invoked at error state. * XmlTextWriterTests.cs : split some tests that try to write nodes at error state (.NET 2.0 correctly rejects them). svn path=/trunk/mcs/; revision=52100
2005-10-032005-10-03 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlWriter.cs, XmlWriterSettings.cs, XmlTextWriter.cs : added supprot for NormalizeNewLines. NewLineOnAttributes is considered only when Indent is true. * XmlWriterSettingsTests.cs : test for NormalizeNewLines. svn path=/trunk/mcs/; revision=51109
2005-09-142005-09-14 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : for surrogate pair, output character * reference as a single character instead of two reference pairs. Fixed bug #76095. Patch by Brion Vibber. * XmlTextWriterTests.cs : added #76095 testcase. svn path=/trunk/mcs/; revision=49997
2005-07-142005-07-14 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : In WriteQualifiedName(), when there is open attribute, it calls LookupPrefix() and then if namespace was empty, it resulted in an exception. Fixed bug #75546. * XmlTextWriterTests.cs : added bug #75546 testcase. svn path=/trunk/mcs/; revision=47312
2005-06-17Standardize line-endings in files (if most of the file is CRLF, Raja R Harinath
convert the whole thing to CRLF). Set svn:eol-style native for files with LF line-endings. Remove svn:executable. svn path=/trunk/mcs/; revision=46117
2005-03-242005-03-24 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlWriter.cs : WriteQualifiedName() should check namespace validity (whether it is in scope or not). * XmlTextWriter.cs : When WriteQualifiedName() is invoked inside attribute and no matching namespace declaration, create prefix on demand. Code reused from WriteStartAttribute(). * XmlTextWriterTests.cs : added more tests on WriteQualifiedName(). svn path=/trunk/mcs/; revision=42189
2005-03-082005-03-08 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : namespace declaration check for those which starts with 'x' 'm' 'l' should not be done here (it might be 'declared' though reserved). * XmlNamespaceManager.cs : error message for "'xml' prefix for different namespace" is incorrect. svn path=/trunk/mcs/; revision=41546
2005-03-032005-03-03 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : For duplicating namespace mapping, it should create another prefix without throwing an exception. * XmlTextWriterTests.cs : added testcase for duplicating namespace mapping processing (should create another prefix, not exception). svn path=/trunk/mcs/; revision=41387
2005-03-022005-03-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : LookupPrefix() should not return those prefix that is overriden by another xmlns declaration. * XmlTextWriterTests.cs : Added test for LookupPrefix() for overriden prefix. svn path=/trunk/mcs/; revision=41372
2005-02-242005-02-24 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : WriteString() should be valid when WriteStartDocument() was not called. * XmlTextWriterTests.cs : Test for call to WriteRaw() -> WriteString() svn path=/trunk/mcs/; revision=41159
2005-01-112005-01-11 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : WriteComment() was outputting extraneous EOL. * XmlTextWriterTests.cs : added Indent2() to test WriteComment EOL. svn path=/trunk/mcs/; revision=38702
2004-11-262004-11-26 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : not fixage, just explicitly formatted code a bit. * XmlTextReader.cs, XmlEntity.cs, XmlAttributeCollection.cs, XmlTextWriter.cs, XmlElement.cs, XmlNode.cs, DTDObjectModel.cs, XmlParserInput.cs, DTDReader.cs, XmlDocument.cs : warning removal. svn path=/trunk/mcs/; revision=36587
2004-11-242004-11-24 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlQualifiedName.cs : in 2.0 it is [Serializable]. * XmlTextReader.cs : removed unused local variable. * XmlTextWriter.cs : Improved some exception messages. moved some private fields into #if NET_2_0. * XmlValidatingReader.cs : rename specifiedResolver to resolverSpecified and use it in internal get_Resolver(). Added [Obsolete] for ReadTypedValue() whose base is obsoleted. svn path=/trunk/mcs/; revision=36465
2004-11-222004-11-22 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : removed old ReadValueAsXXX() and added new ReadContentAsXXX() and ReadElementContentAsXXX(). * XmlTextReader.cs : removed old ReadValueAsXXX() (no overrides now). * XmlTextWriter.cs : added indentation on Comment nodes. * XmlDateTimeSerializationMode.cs : updated. * XmlResolver.cs : added 2.0 NameTable field. * ValidationType.cs : added ObsoleteAttributes on some members. svn path=/trunk/mcs/; revision=36358
2004-09-142004-09-14 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : Close() should not Flush() when the output is already closed. bug #65918 is fixed. svn path=/trunk/mcs/; revision=33851
2004-09-122004-09-12 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : CloseOutput must be true by default. svn path=/trunk/mcs/; revision=33760
2004-09-082004-09-08 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlWriter.cs, XmlTextWriter.cs, XmlWriterSettings.cs : Implemented CheckCharacters and CloseOutput support. svn path=/trunk/mcs/; revision=33563
2004-09-082004-09-08 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : evidence is always provided. * XmlWriter.cs, XmlTextWriter.cs : added support for ConformanceLevel and OmitXmlDeclaration. svn path=/trunk/mcs/; revision=33558
2004-09-082004-09-08 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextReader.cs : Console.WriteLine() injected :( * XmlTextWriter.cs : It it partly supports XmlWriterSettings. * XmlWriter.cs : implemented Create(). * XmlWriterSettings.cs : removed EncodeXmlBinary (deprecated). svn path=/trunk/mcs/; revision=33554
2004-08-262004-08-26 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : In CheckState(), don't create indentation string at every time. WriteIndent() now handles the indentation without recomputation. svn path=/trunk/mcs/; revision=32882
2004-07-282004-07-28 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlConvert.cs : Added 2.0 VerifyNMTOKEN() and internal WriteBinHex(). * XmlQualifiedName.cs : Added internal static Parse(). * XmlReader.cs : use XmlQualifiedName.Parse(). * XmlTextWriter.cs : use new XmlWriter.WriteNameInternal() etc. * XmlWriter.cs : Added 2.0 Settings and WriteFromObject(). Implemented 2.0 virtual methods that used to be abstract in 1.x. svn path=/trunk/mcs/; revision=31540
2004-06-21Add MIT license to System.XML.DLLDuncan Mak
svn path=/trunk/mcs/; revision=30055
2004-06-182004-06-18 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* DTDObjectModel.cs, DTDReader.cs, XmlConvert.cs, XmlDocument.cs, XmlException.cs, XmlParserInput.cs, XmlTextReader.cs, XmlTextWriter.cs : Globalization. * XmlNode.cs : Fixed error message that confused node type. svn path=/trunk/mcs/; revision=29825
2004-06-132004-06-13 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextReader.cs : Character range check is always done. It is only character references for which check is not done when Normalization is false. A bit more kind error message for multiple document element error. * XmlTextWriter.cs : Check if character is valid and entitize when it was invalid. svn path=/trunk/mcs/; revision=29426
2004-06-062004-06-06 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* NameTable.cs : Fixed incorrect hash computation. Thanks to Ben. * XmlTextWriter.cs : Fixed remaining LookupNamespace() atom problem shown in xslt standalone tests. svn path=/trunk/mcs/; revision=28908
2004-06-062004-06-06 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : Improved indenting. For children of a mixed content element, it won't be indented. svn path=/trunk/mcs/; revision=28905
2004-06-042004-06-03 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlNamespaceManagre.cs : Fixed LookupNamespace() and LookupPrefix(). They require that names are *already* atomized. * XmlNodeReader.cs, XmlTextWriter.cs : use safe overload of LookupXXX(). svn path=/trunk/mcs/; revision=28789
2004-05-272004-05-27 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : WriteRaw() looks to proceed WriteState to Prolog (if it is Start). Fixed bug #59154. svn path=/trunk/mcs/; revision=28233
2004-05-102004-05-10 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : comment not in the content state is indented. This fixes bug #58247. svn path=/trunk/mcs/; revision=27017
2004-05-07 * XmlTextWriter.cs: In WriteStartAttribute, when the prefix is xmlns andLluis Sanchez
the name is empty, convert it to a xmlns attribute. svn path=/trunk/mcs/; revision=26909
2004-03-202004-03-20 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : Fixed indentation on CDATA. This fixes bug #55828. svn path=/trunk/mcs/; revision=24361
2004-02-192004-02-19 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : Fixed bugzilla #54554 (incorrent end tag output). svn path=/trunk/mcs/; revision=23246
2004-02-112004-02-11 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs, XmlTextWriterOpenElement.cs. svn path=/trunk/mcs/; revision=22966
2004-02-032004-02-03 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* ChangeLog : Fixed incorrect description that should be written for DTDValidatingReader.cs but written for DTDReader.cs. * DTDValidatingReader.cs : Fixes described in the last DTDReader fix. * XmlChar.cs, XmlConstructs.cs : Made XmlChar and XmlConstructs equivalent and replaced XmlChar with XmlConstruts, renaming "XmlChar" to "XmlCharCompact" and "XmlConstructs" to "XmlChar". (XmlChar will be used for compact framework.) * DTDReader.cs, XmlParserInput.cs, XmlTextReader.cs : XmlChar related changes. Support for surrogate pair. It cannot use TextReader's peek anymore (for surrogate pair). Character range check for PI value, attribute value, text * XmlTextWriter.cs : Change openElements from Stack to ArrayList. (It calls ToArray() every time.) svn path=/trunk/mcs/; revision=22741
2004-01-262004-01-26 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter.cs : quick performance fix. Reduced memoty allocation (e.g. 12% when writing XMLSchema.xsd.) svn path=/trunk/mcs/; revision=22514