It is not simply replacement because we have to workaround dynamic codegen
for Xamarin.iOS.
Also there were several tests failing with MS implementation (e.g. for
W3C DOM conformance), so we had to disable them.
There is one regression that rather needs to be fixed in Reflection.Emit.
Also, some WCF tests fail with this implementation. They need to be
investigated, reviewed and appropriately fixed.
* XmlNodeReaderImpl.cs : when the reader is at attribute value,
MoveToNextAttribute() incorrectly moved to the first attribute.
Fixed bug #550379.
* XmlNodeReaderTests.cs : added test for bug #550379.
svn path=/trunk/mcs/; revision=145910
* XmlNamespaceManager.cs : added internal LookupPrefixExclusive()
which discards "overriden" namespaces.
* XmlTextWriter2.cs : fresh implementation.
- The source structure is simplified and cleaner.
- When outputting escaped string, output directly to TextWriter.
- roughly 20% performance improvement.
(Also fixed previous perf. evaluation excess in ChangeLog.)
* XmlReaderCommonTests.cs : added custom assertion overload that takes
test label.
* XmlNodeReaderTests.cs : labeled some.
* XmlTextWriterTests.cs :
Changed the semantics of AttributeNamespacesXmlnsXmlns() and
removed NotDotNet (in contrast this test should fail with previous
version of XmlTextWriter). See the code comment for details.
Added WriteQualifiedNameXmlnsError().
* System.Xml.dll.sources : removed XmlTextWriterOpenElement.cs and
XmlTextWriter.cs. Added XmlTextWriter2.cs, to be renamed to
XmlTextWriter.cs in a few days or weeks.
svn path=/trunk/mcs/; revision=57095
* 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
* 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
* 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