* XmlReader.cs : ReadToDescendant() should work when its ReadState is
Initial.
* XmlReaderCommonTests.cs : added tests for ReadToDescendant() and
ReadToFollowing().
svn path=/trunk/mcs/; revision=54152
* 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
* XmlSchemaValidationException.cs : added SetSourceObject() which
is just for API compat (it does nothing on MS.NET).
Removed #if NET_2_0 inside #if NET_2_0.
* XsdParticleValidationTests.cs : ValidateRootElementOnlyInvalid()
does not throw validation exception under MS 2.0, this NotDotNet.
svn path=/trunk/mcs/; revision=54092
* XmlReaderSettings.cs : ProhibitDtd is set as default.
* XmlWriterSettings.cs : no set_OutputMethod.
* XmlReaderCommonTests.cs : use ProhibitDtd=false in CreateSimple()
and added CreateSimpleProhibitDtd().
svn path=/trunk/mcs/; revision=54090
* XmlConvert.cs : VerifyNCName() and VerifyName() throws
ArgumentNullException for "".
* XmlConvertTests.cs : some tests for ToInt16(), ToInt32(),
VerifyName() and VerifyNCName().
svn path=/trunk/mcs/; revision=52857
* 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
* 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
* XmlTextReader.cs, DTDValidatingReader.cs : LookupNamespace("") for
default namespace was returning "" instead of null. It didn't check
empty namespace URI for non-empty prefixes.
* XmlTextReaderTests.cs, XmlValidatingReaderTests.cs,
XmlReaderCommonTests.cs : added and fixed tests to make sure that
LookupNamespace("") returns null for default namespace, and checks
that empty namespace URI is not allowed for non-empty prefix.
svn path=/trunk/mcs/; revision=52099
* Attr.cs : core0006A is not working under .NET 2.0.
* Element.cs : core0008A and core0016A Are not working under .NET 2.0.
* NamedNodeMap.cs : core0009M is not working under .NET 2.0.
svn path=/trunk/mcs/; revision=52095
* XmlConvert.cs : ToTimeSpan() resulted in an infinite loop when the
digits for "second" were not exactly 3. Fixed bug #76328.
* XmlConvertTests.cs : added test for bug #76328.
svn path=/trunk/mcs/; revision=51188
* 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
* XmlAttribute.cs, XmlDocument.cs : check id table updates when
XmlAttribute.set_Value() was invoked. Fixed bug #76311.
* XmlAttributeTests.cs : test for bug #76311.
svn path=/trunk/mcs/; revision=51080
* XmlReader.cs, XmlTextReader.cs, XmlTextReader2.cs :
XmlReader.Create() with string url argument are not working because
of incorrect choice of the .ctor().
* XmlReaderCommonTests.cs : added simple Create() test.
svn path=/trunk/mcs/; revision=51075
* XmlNodeReaderImpl.cs : when the source node was not a document and
it is an empty element, Read() was incorrectly moving to the parent
of the source node. Patch by Csaba Halasz. Fixed bug #76260.
* XmlNodeReaderTests.cs : added test for bug #76260.
svn path=/trunk/mcs/; revision=50962
* DTDValidatingReader.cs : Namespace manager was not handled correctly.
Now it does the same as XmlTextReader does. Fixed bug #76234.
* XmlValidatingReaderTests.cs : added test for bug #76234.
svn path=/trunk/mcs/; revision=50782
in System.Xml:
* XmlTextReader.cs : when there is a heading half of surrogate
* at the
end of read buffer, it didn't treat it as a surrogate.
Fixed bug #76102.
in Test/System.Xml:
* XmlTextReaderTests.cs : added #76102 testcase.
in Test/XmlFiles:
* 76102.xml : added test for bug #76102.
in Test/System.Xml/W3C:
* Makefile: build fix.
svn path=/trunk/mcs/; revision=50050
* 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
* XmlSecureResolverTests.cs: Added more test cases for CreateEvidence.
* XmlSecureResolverCas.cs: New. CAS unit tests for XmlSecureResolver.
* XmlExceptionCas.cs: New. CAS unit tests for exception serialization.
svn path=/trunk/mcs/; revision=49172
* XmlAttribute.cs : When there was only one child in attribute
and it was an entity reference, set_Value() tried to set text value
and thus failed.
* XmlAttributeTests.cs : Test if set_Value() works in such cases that
there was only one child in attribute and it was an entity reference.
svn path=/trunk/mcs/; revision=47993
* XsdValidatingReader.cs : when xsi:schemaLocation could not be
resolved, it still does not raise error when corresponding schema
already exists.
* XsdValidatingReaderTests.cs : added test case for duplicating
assignment of both Schemas.Add() and xsi:schemaLocation where
schemaLocation could not be resolved.
svn path=/trunk/mcs/; revision=47803
* 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
* XmlTextReaderTests.cs : added a testcase for not-wf entity
declaration which is actually not used in the instance.
svn path=/trunk/mcs/; revision=46581
* DTDValidatingReader.cs : removed some extra IsDefault check (with
the latse code default attributes are stored in hashtables anyways.)
Fixup attribute namespaces _after_ xmlns attributse are filled.
The latest change is not good that namespaceURI of a local attribute
was incorrectly globally looked up (it should be always "").
* XmlValidatingReaderTests.cs : added attribute namespace check in
DefaultXmlnsAttributeLookup() as well.
svn path=/trunk/mcs/; revision=46122
* XmlValidatingReader.cs : LookupNamespace() was trying to access to
null reference to validatingReader.
* DTDValidatingReader.cs : Fixed default xmlns* attribute handling.
It used to be valid only at the declaring element.
* XmlValidatingReaderTests.cs : added DefaultXmlnsAttributeLookup().
svn path=/trunk/mcs/; revision=46120