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
2009-01-202009-01-20 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReaderBinarySupport.cs : do not hang in the middle of reading byte chunk at some node types. Fixed bug #464229. * XmlReaderCommonTests.cs : added test for bug #464229. svn path=/trunk/mcs/; revision=123866
2009-01-082009-01-08 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : ReadContentAsString() does not reject non-elements. ReadElementContentAsString() rejects non-content nodes. * XmlReaderCommonTests.cs : added test for ReadContentAsString() and ReadElementContentAsString() against certain node types. svn path=/trunk/mcs/; revision=122737
2008-12-092008-12-09 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XsdValidatingReader.cs : skip text validation under xs:any. Fixed part of bug #449512. * XmlSchemaValidator.cs : skip text validation under xs:any. * XmlValidatingReaderTests.cs : added test for validating mixed element under xs:any. svn path=/trunk/mcs/; revision=121093
2008-09-172008-09-17 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SubtreeXmlReader.cs : Close() should correctly skip empty element. In Read(), make sure to move from Element state. * XmlReader.cs : detailed error location in ReadSubtree(). * XmlReaderCommonTests.cs : another Subtree+EmptyElement case. svn path=/trunk/mcs/; revision=113339
2008-09-172008-09-17 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SubtreeXmlReader.cs : make sure to set eof for empty element after Read(). * XmlReaderCommonTests.cs : added test for NodeType for empty element. svn path=/trunk/mcs/; revision=113312
2008-09-172008-09-17 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : ReadSubtree() is valid only on an element. * XmlReaderCommonTests.cs : added test for ReadSubtree() on non-element. svn path=/trunk/mcs/; revision=113304
2008-07-282008-07-28 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlNamespaceManager.cs : check null arg. * XmlTextReader.cs : fixed bug #412657; now we populate nametable and namespace manager in case they are null in parser context, and use them instead of the members in the parser context. * XmlTextReaderTests.cs : added test for bug #412657. svn path=/trunk/mcs/; revision=109049
2008-06-112008-06-11 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlConvert.cs : fixed bug #397934. Utc mode accepts more formats. * XmlConvertTests.cs : added test for bug #397934 svn path=/trunk/mcs/; revision=105562
2008-06-112008-06-11 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlConvert.cs : no need for TARGET_JVM. * XmlConvertTests.cs : no need for TARGET_JVM. Fix wrong comparison. svn path=/trunk/mcs/; revision=105558
2008-06-092008-06-09 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextReader.cs : when Normalized is true, '<' after \r which comes after text node was incorrectly consumed as a text content. Fixed bug #398374. * XmlTextReaderTests.cs : added test for bug #398374. svn path=/trunk/mcs/; revision=105288
2008-06-052008-06-05 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlConvert.cs : now we can use roundtrip format for float/double. Fixed bug #320424. * XmlConvertTests.cs : added test for bug #320424. svn path=/trunk/mcs/; revision=104961
2008-05-222008-05-22 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : some Create() overloads with baseUri argument did not set baseUri correctly. Fixed bug #392385. * XmlReaderSettingsTests.cs : added test for bug #392385. svn path=/trunk/mcs/; revision=103763
2008-05-072008-05-07 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : force CloseInput to every XmlReader that is created from url (I mean, every internal XmlReader instance). * XmlFilterReader.cs : clone settings so that it does not depend on inconsistent settings after creation. Fixed bug #385638. * XmlReaderCommonTests.cs : added test for bug #385638. svn path=/trunk/mcs/; revision=102702
2008-04-172008-04-17 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlAttributeCollection.cs : check attribute identity only if the source node is in the document tree. Fixed bug #380720. * XmlElementTests.cs : added test for bug #380720. * XmlAttributeTests.cs : numbered some assertions. svn path=/trunk/mcs/; revision=101019
2008-04-032008-04-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XsdParticleValidationState.cs : a choice with only empty particle children is emptiable. Fixed bug #376395. * XsdValidatingReaderTests.cs : added test for bug #376395. * 376395.xml, 376395.xsd : new test files. * Makefile : extra distfiles (376395.xml, 376395.xsd). svn path=/trunk/mcs/; revision=99679
2008-03-31* XmlDocumentTests.cs: Fixed line endings.Gert Driesen
* XmlAttributeCollectionTests.cs: Fixed line endings. * XmlDocumentEventTests.cs: Fixed line endings. * XmlNodeTests.cs: Fixed line endings. * XsdValidatingReaderTests.cs: Fixed line endings. * XmlDocumentTypeTests.cs: Fixed line endings. * XmlEntityReferenceTests.cs: Fixed line endings. svn path=/trunk/mcs/; revision=99458
2008-03-31* XmlAttributeTests.cs: Use Assert instead of deprecated AssertionGert Driesen
class. Improved a few tests. Added link to MS bug report for regression in .NET 2.0. Numbered tests. svn path=/trunk/mcs/; revision=99456
2008-02-192008-02-19 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlParserContext.cs : .net does not populate XmlNamespaceManager automatically. * XmlDocument.cs : so, always create one here. * XmlParserContextTests.cs : they are working. case #3 should not try to parse broken internalSubset (we do not allow broken intsubset and it is almost no worthy of assuring only-nominal .net compat that such broken internalSubset should be allowed). svn path=/trunk/mcs/; revision=96116
2008-01-252008-01-25 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : MoveToNextSibling() should check EOF (as Skip() does not). Fixed bug #347768. * XmlReaderCommonTests.cs : added test for bug #347768. svn path=/trunk/mcs/; revision=93873
2008-01-15* XmlParserContextTests.cs: Added ctor tests.Gert Driesen
* System.Xml_test.dll.sources: added XmlParserContextTests.cs. svn path=/trunk/mcs/; revision=92968
2007-12-062007-12-06 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlUrlResolver.cs : in net_2_0, use Uri.IsAbsoluteUri to filter relative URIs out. * XmlUrlResolverTests.cs : fixed test; file://file.txt is to access such a server whose (domain) name is "file.txt", which is actually an absolute URI. Remove "regression" in the nunit test. svn path=/trunk/mcs/; revision=90794
2007-11-122007-11-12 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlSchemaValidator.cs : XmlValueGetter actually needs string value to validate against a restricted simple type (beyond ParseValue()). Fixed bug #339934. * XsdValidatingReaderTests.cs : added test for #339934. in Test/System.Xml.Schema/standalone_tests: * Makefile : now we try both default and 2.0 profile tests (i.e. "make run-test" and "make PROFILE=net_2_0"). For 2.0, use XmlReader.Create(). svn path=/trunk/mcs/; revision=89432
2007-11-092007-11-09 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlConvert.cs : ToDateTime(XmlDateTimeSerializationMode) should allow more strings than existing one. Fixed bug #339004. * XmlConvertTests.cs : added test for #339004 and more. svn path=/trunk/mcs/; revision=89305
2007-10-31* XmlConvertTests.cs: Added link to MS bug report.Gert Driesen
svn path=/trunk/mcs/; revision=88545
2007-10-312007-10-31 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XsdValidatingReader.cs : r68046 didn't really fix the issue. Enabled the actual fix. and fixed bug #336625. * XsdValidatingReaderTests.cs : added test for #336625. * 336625.xsd : new test file. * Makefile : extra distfiles (336625.xsd). svn path=/trunk/mcs/; revision=88537
2007-10-302007-10-30 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlConvert.cs : ToDateTime(string,string) should use ParseExact(), not Parse(). Use 'K' for roundtrip format. * XmlCustomFormatter.cs : use RoundtripKind when converting to and from DateTime. * XmlConvertTest.cs : added test for DateTime roundtrip. * XmlSerializerTests.cs : added test for bug #337729. svn path=/trunk/mcs/; revision=88448
2007-10-192007-10-19 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* SubtreeXmlReader.cs : when a subtree reader is closed, the original reader moves to the end of the subtree. Fixed bug #334752, patch by Scott Peterson. * XmlReaderCommonTests.cs : added test for bug #334752. svn path=/trunk/mcs/; revision=87812
2007-09-282007-09-28 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlWriter.cs : it is now documented that WriteNode(XPathNavigator) ignores attributes and namespace decls, so do that. * XQueryConvert.cs : removed extra stuff that are not in use. * XmlWriterTests.cs : added WriteNodeXPathNavigatorAttribute(). svn path=/trunk/mcs/; revision=86546
2007-09-272007-09-27 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlWriter.cs : implemented WriteValue(object) based on MSDN "Writing Typed Data" with some fix. http://msdn2.microsoft.com/en-us/library/bft97s8e(VS.80).aspx * XmlTextWriter.cs : state check is extraneous. It caused unexpected rejection of empty namespace URI. * XmlWriterTests.cs : added test for WriteValue(object). * XmlTextWriterTests.cs : added WriteQualifiedName() test with empty namespace. svn path=/trunk/mcs/; revision=86483
2007-08-132007-08-13 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter2.cs : fix extraneous indentation which is put after omitted xmldecl. * XmlWriterSettingsTests.cs : added test for extraneous newline on OmitXmlDeclaration mode. svn path=/trunk/mcs/; revision=83958
2007-08-022007-08-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlSchemaComplexType.cs, XmlSchemaComplexContentRestriction.cs : in Validate(), every descendant item in complexType must be first validated before getting GetOptimizedParticle(), or it could result in wrong content particle. Fixed bug #82010. * XsdValidatingReaderTests.cs : test for bug #82010. * 82010.xsd, 82010.xml : new test files. * Makefile : extra distfiles (82010.xml/.xsd). svn path=/trunk/mcs/; revision=83272
2007-08-022007-08-02 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlSchemaValidator.cs : another extra whitespace rejection. Fixed another issue reported on bug #82183. * XsdValidatingReaderTests.cs : another test posted on bug #82183. svn path=/trunk/mcs/; revision=83264
2007-07-172007-07-17 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XsdValidatingReader.cs : Process empty and element-only contents differently along with the spec 3.4.4 Element Locally Valid (Complex Type) 2.3 (and 2.1 respectively). Itchy specification indeed. This demanded not a few internal changes. Fixed bug #82099. * XmlSchemaValidator.cs : dependent changes to XsdParticleValidationState. Changed ValidateWhitespace() to do the same as we do in XsdValidatingReader. * XsdValidatingReaderTests.cs : added test for bug #82099. svn path=/trunk/mcs/; revision=82098
2007-07-122007-07-12 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlWriter.cs : in WriteNode(XPathNavigator,bool), default namespace is broken. Fixed bug #82051. * XmlWriterTests.cs : added test for bug #82051. svn path=/trunk/mcs/; revision=81852
2007-07-112007-07-11 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : looks like I introduced extra Settings check at r69383. Fixed bug #82062. * XmlReaderSettingsTests.cs : added test for bug #82062. svn path=/trunk/mcs/; revision=81785
2007-06-30* XmlTextReaderTests.cs: Enable ProhibitDtd test on 1.0 profile too.Gert Driesen
Fixed line endings. * XmlTextReader.cs: Expose ProhibitDtd on 1.0 profile too. svn path=/trunk/mcs/; revision=81106
2007-06-132007-06-13 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlNode.cs : InnerText is settable on XmlDocumentFragment (silly, but since XmlDocumentFragment does not override this property it must be handled here). * XmlDocumentFragmentTests.cs : added InnerText(). * XmlWriterSettingsTests.cs : replace \r\n with \n to make it pass on windows. svn path=/trunk/mcs/; revision=79457
2007-05-312007-05-31 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextWriter2.cs : NewLineOnAttributes indentation fix, for bug #81770. * XmlWriterSettingsTests.cs : added test for NewLineOnAttributes. svn path=/trunk/mcs/; revision=78290
2007-05-26* XmlWriterTests.cs: Added NotWorking Create_XmlWriter2 test.Gert Driesen
svn path=/trunk/mcs/; revision=77988
2007-05-26* XmlWriterTests.cs: Renamed Close* tests to Create*, and improvedGert Driesen
their coverage. Commented out newly introduced tests since they fail on Mono. svn path=/trunk/mcs/; revision=77987
2007-05-16* XmlWriterTests.cs: Added tests for Close that verify closing ofGert Driesen
underlying stream. svn path=/trunk/mcs/; revision=77503
2007-04-272007-04-27 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlSchemaValidatingReader.cs : nsResolver field must be initialized. Fixed bug #81460. * XsdValidatingReaderTests.cs : added test for bug #81460. svn path=/trunk/mcs/; revision=76376
2007-04-252007-04-25 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlConvert.cs : MinValue and MaxValue are unchanged by the serialization mode (unlike DateTime.ToString()). * XmlCustomFormatter.cs : fix GenerateToXmlString() as well. * XmlConvertTests.cs : added test for MaxValue serialization with every XmlDateTimeSerializationMode. svn path=/trunk/mcs/; revision=76275
2007-04-252007-04-25 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : fixed wrong depth comparison in ReadToNextSibling(). Fixed bug #81451, by Eric Mercier. * XmlReaderCommonTests.cs : added test for bug #81451. svn path=/trunk/mcs/; revision=76259
2007-04-242007-04-24 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlSchema.cs XmlSchemaGroup.cs XmlSchemaAny.cs XmlSchemaElement.cs XmlSchemaNotation.cs XmlSchemaComplexType.cs XmlSchemaAttributeGroup.cs XmlSchemaSimpleType.cs XmlSchemaIdentityConstraint.cs XmlSchemaAnyAttribute.cs XmlSchemaRedefine.cs XmlSchemaAttribute.cs : avoid incorrect compilation of included schemas, fixed bug #81360. more fix for wrong targetNamespace propagation within current processing model. Replaced ParentIsSchema field with a property. * XsdValidatingReaderTests.cs : added test for bug #81360. * 81360.xsd, 81360inc1.xsd, 81360inc2.xsd : new test files. * Makefile : added distfiles. svn path=/trunk/mcs/; revision=76184
2007-04-032007-04-03 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlTextReader.cs : character ']' inside DTD comment caused parser error. Fixed bug #81294. * XmlTextReaderTests.cs : added test for bug #81294. svn path=/trunk/mcs/; revision=75325
2007-03-052007-03-05 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : when Create() returns customized XmlTextReader, set EntityHandling.ExpandEntities. Fixed bug #81000. * XmlReaderSettingsTests.cs : added test for bug #81000. svn path=/trunk/mcs/; revision=73698
2007-02-202007-02-20 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* DTDValidatingReader2.cs, XmlTextReader.cs, XmlNodeReaderImpl.cs: Read() silently returns false when it is closed. Fixed bug #80848. * XmlReaderCommonTests.cs : added test for bug #80848. svn path=/trunk/mcs/; revision=73147
2007-02-072007-02-07 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlReader.cs : ReadElementContentAsString() and all relevant methods didn't consume empty element correctly. * XmlReaderCommonTests.cs : added ReadElementContentAsStringEmpty(). svn path=/trunk/mcs/; revision=72402
2006-12-202006-12-20 Atsushi Enomoto <atsushi@ximian.com>Atsushi Eno
* XmlNode.cs : (InsertBefore) when newChild == refChild, do nothing except for node type check. Fixed bug #80331. * XmlNodeTests.cs : added tests for bug #80331. svn path=/trunk/mcs/; revision=69837