* XmlElementTest.cs: SetAttribute(name,value) should identify value
change for existing node, from new node insertion.
Fixed bug #464394.
* XmlElementTests.cs : added test for bug #464394.
svn path=/trunk/mcs/; revision=126323
* 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
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
* XmlElement.cs : patch for Prefix property by Vorobiev Maksim.
- null should cause ArgumentNullException.
- "" should not raise an error.
- throws ArgumentException when it is readonly.
* XmlElementTests.cs : Patch by Vorobiev Maksim.
- setting null to Prefix should raise ArgumentNullException.
- setting String.Empty to Prefix should be allowed.
svn path=/trunk/mcs/; revision=54849
* XmlDocumentTests.cs, XmlAttributeCollectionTests.cs
XmlElementTests.cs, XmlCharacterDataTests.cs :
Marked NotDotNet for some tests broken under 2.0 (MS bugs).
Marked Ignore for some tests which originally does not make sense.
Changed types in ExpectedException for some tests under 2.0.
svn path=/trunk/mcs/; revision=54345
* XmlAttributeTests.cs : added NamespaceAttributes() and WriteTo().
* XmlDocumentTests.cs : fixed invalid xml of DocumentWithDoctypeDecl()
and not well-formed xml of OuterXmlWithDefaultXmlns().
* XmlElementTests.cs : added IsEmpty(). fixed not well-formed xml of
WriteToWithDefaultNamespace().
* XmlNodeReaderTests.cs : fixed incorrect result expectation of
ReadInnerXmlWrongInit().
* XmlNodeTets.cs : applied USE_VERSION_1_1 for InsertBefore()/-After().
* XmlReaderCommonTests.cs,
XmlTextReaderTests.cs : moved EntityReference() and EntityReference-
InsideText() to XmlTextReaderTests.cs, since XmlNodeReader is expected
to resolve these entity references.
* XmlTextWriterTests.cs : removed English-dependent error message check.
fixed incorrect state-check ignorant blocks of WriteAttributes ().
* XmlWriterTests.cs : modified WriteNodeFullDocument() and WriteNode-
XmlDecl() as MS.NET results in.
svn path=/trunk/mcs/; revision=14610