Commit Graph
21 Commits
Author SHA1 Message Date
Martin Baulig 4c8278ed3b Add .NET 4.5 async methods to XmlReader and XmlWriter. 2012-06-03 04:02:28 +02:00
Robert Jordan bd7622796a 2009-06-26 Robert Jordan <[email protected]>
* *.cs: Upgrade to new NUnit style.


svn path=/trunk/mcs/; revision=137010
2009-06-26 21:06:21 +00:00
Atsushi Eno 4c58cdb97c 2008-05-22 Atsushi Enomoto <[email protected]>
* 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-22 07:29:51 +00:00
Atsushi Eno 44effe49e4 2007-07-11 Atsushi Enomoto <[email protected]>
* 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-07-11 11:37:37 +00:00
Atsushi Eno de8c3d5de0 2007-03-05 Atsushi Enomoto <[email protected]>
* 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-03-05 05:50:41 +00:00
Atsushi Eno a175a4e0a0 2006-12-12 Atsushi Enomoto <[email protected]>
* XmlReader.cs : Create() with string url was not returning validating
	  XmlReader.

	* XmlReaderSettingsTests.cs : added test to make sure that Create()
	  returns a validating XmlReader.


svn path=/trunk/mcs/; revision=69383
2006-12-12 04:18:42 +00:00
Atsushi Eno 6c0c6858a8 2006-11-14 Atsushi Enomoto <[email protected]>
* XmlReaderSettings.cs : in copy constructor, copy (dispatch)
	  validation event as well. Add OnValidationError() to be invoked
	  by other internal stuff to raise the validation event.

	* XmlSchemaValidatingReader.cs : dispatch validation events from
	  XmlReaderSettings. Turned out that outside System.Xml.dll
	  XmlReaderSettings.ValidationEventHandler is useless.

	* XmlReaderSettingsTests.cs : added validation event handler test
	  case.


svn path=/trunk/mcs/; revision=67814
2006-11-14 07:28:29 +00:00
Atsushi Eno 53341ede85 2006-11-13 Michael Meeks <[email protected]>
* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs:
	pass the XmlResolver through to the GetStream impl.

2006-11-13  Atsushi Enomoto <[email protected]>

	* XmlReaderSettingsTests.cs : added custom resolver case for primary
	  XML stream (custom resolver is indeed used and here it should cause
	  error).


svn path=/trunk/mcs/; revision=67808
2006-11-14 01:25:47 +00:00
Atsushi Eno 12d5e7c137 2006-11-13 Atsushi Enomoto <[email protected]>
* XmlReaderSettingsTests.cs : added NullResolver() case.


svn path=/trunk/mcs/; revision=67806
2006-11-14 00:29:28 +00:00
Atsushi Eno f764fa4dfd 2006-04-12 Atsushi Enomoto <[email protected]>
* System.Xml_test.dll.sources :
	  Added Test/System.Xml/XmlDefaultReader.cs.

	* XmlSchemaValidatingReader.cs : don't reject such XmlReader that
	  does not implement IXmlNamespaceResolver.

	* XmlReaderSettingsTests.cs : 
	  Added CreateValidatorFromNonIXmlNamespaceResolver() which is
	  uncovered by NVDL validator.
	* XmlDefaultReader.cs : new file for above.


svn path=/trunk/mcs/; revision=59399
2006-04-12 10:27:57 +00:00
Atsushi Eno de3ddcb8ca 2005-12-09 Atsushi Enomoto <[email protected]>
* XmlChar.cs : removed incorrect comment.
	* XmlReader.cs : Create() clones XmlReaderSettings (if supplied).
	  For wrapped XmlReader, check ConformanceLevel to be consistent.
	* XmlTextReader.cs, XmlTextReader2.cs : added get_Conformance for
	  internal use. Removed unused fields.
	* XmlInputStream.cs : updated NonBlockingStreamReader to the latest
	  StreamReader (it is almost a copy).

	* XmlReaderSettingsTests.cs : added some ConformanceLevel tests.
	  Added CreateClonesSettings() to make sure XmlReader.Create() clones
	  XmlReaderSettings.


svn path=/trunk/mcs/; revision=54151
2005-12-09 06:43:34 +00:00
Atsushi Eno 99c907944c 2005-12-08 Atsushi Enomoto <[email protected]>
* System.Xml.dll.sources : added XmlSchemaCompilationSettings.cs

	* XmlReaderSettings.cs : thanks to idiotic MS design,
	  AllowXmlAttributes is turned on by default.

	* XmlSchemaCompilationSettings.cs : new file.
	* XmlSchemaSet.cs : added CompilationSettings property.
	* XmlSchemaComplexType.cs : support for EnableUpaCheck.

	* XmlReaderSettingsTests.cs : (DefaultValue)
	  Added assertion label everywhere.
	* XmlWriterTests.cs : WriteNodeError is broken under MS.NET 2.0 (it
	  should cause an error).

	* XmlSchemaSetTests.cs : added CompilationSettings tests.


svn path=/trunk/mcs/; revision=54094
2005-12-08 06:56:12 +00:00
Atsushi Eno c2029b413f 2005-12-08 Atsushi Enomoto <[email protected]>
* XmlReaderSettings.cs :
	  set_Schemas() is fixed in 2.0 RTM (it just works).
	* XmlResolver.cs : throw ArgumentNullException instead of
	  ArgumentException when both base and relative urls are null.

	* XmlReaderSettingsTests.cs : SetSchemas() should not cause an error.
	  Added SetSchemasNull() as well.
	* XmlUrlResolverTests.cs : (ResolveUriWithNullArgs)
	  expect ArgumentNullException instead of ArgumentException.
	  This is a fix in .NET 2.0.


svn path=/trunk/mcs/; revision=54093
2005-12-08 05:53:02 +00:00
Atsushi Eno 38e3987552 2005-11-07 Atsushi Enomoto <[email protected]>
* XmlReader.cs : dependent XmlSchemaValidationFlags fix.
	  Added ReadElementContentAsObject() and ReadContentAsObject().
	* XmlReader.cs, XmlTextReader.cs :
	  LookupNamespace(string,bool) is now private.
	* XmlReader.cs, XmlNode,cs :
	  [DebuggerDisplay].

	* XmlSchemaValidationFlags.cs : updated to match 2.0 RTM.
	* XmlSchemaValidator.cs : related fix.

	* XmlSchemaValidatingReader.cs : XmlSchemaValidationFlags is updated.

	* XmlReaderSettingsTests.cs : XmlSchemaValidationFlags is updated.



svn path=/trunk/mcs/; revision=52659
2005-11-07 17:22:05 +00:00
Atsushi Eno ccef6c8982 2005-09-25 Atsushi Enomoto <[email protected]>
* XmlSchemaValidationFlags.cs, XmlSchemaValidator.cs :
	  NET_2_0 API updates.

	* XmlReader.cs, XmlReaderSettings.cs, XmlDocument.cs:
	  XmlSchemaValidationFlags updates.

	* XmlSchemaValidatingReader.cs: XmlSchemaValidationFlags updates.

	* XmlReaderSettingsTests.cs : XmlSchemaValidationFlags NET_2_0 update.


svn path=/trunk/mcs/; revision=50732
2005-09-25 17:43:39 +00:00
Atsushi Eno 2da6c2e2c0 2005-09-21 Atsushi Enomoto <[email protected]>
* XmlNodeReader2.cs, XmlReader.cs,
	  XmlTextReader.cs, XmlTextReader2.cs,
	  XmlNodeChangedEventArgs.cs, XmlElement.cs,
	  XmlNode.cs, XmlDocument.cs :
	  updated NET_2_0 API.

	* XmlReaderSettingsTests.cs : updated NET_2_0 related tests.
	* NameTableTests.cs : numbered testcases. fixed argument order.


svn path=/trunk/mcs/; revision=50351
2005-09-21 02:58:41 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Atsushi Eno b922e1b0d4 2005-01-17 Atsushi Enomoto <[email protected]>
* XmlReaderSettingsTests.cs : added some .ctor() tests.



svn path=/trunk/mcs/; revision=39004
2005-01-17 09:32:37 +00:00
Raja R Harinath 8fa4e7b5f8 * XmlReaderSettingsTests.cs (DefaultValue): Update DtdValidate and
XsdValidate references to use ValidationType.

svn path=/trunk/mcs/; revision=37769
2004-12-15 06:54:06 +00:00
Atsushi Eno 25732919b9 2004-12-08 Atsushi Enomoto <[email protected]>
* XmlReaderSettingsTests.cs : updated some boolean flags to 
	  XmlSchemaValidationFlags.



svn path=/trunk/mcs/; revision=37424
2004-12-08 21:12:11 +00:00
Atsushi Eno 4513f3ed86 2004-09-07 Atsushi Enomoto <[email protected]>
* XmlReaderSettingsTests.cs : added, including XmlReader.Create() tests
	* XmlTextReaderTests.cs : added normalization and Setting sests.

svn path=/trunk/mcs/; revision=33473
2004-09-07 06:34:56 +00:00