Commit Graph
6 Commits
Author SHA1 Message Date
QuickJack fd2ece8e63 Removes 2 warnings CS0168 2011-12-27 16:33:31 +01:00
Andreia Gaita ba36a57d91 [Xml] duh, don't hide the stacktrace 2010-11-12 16:55:54 +00:00
Andreia Gaita 773b544db0 [Xml] Check if the underlying writer supports LookupPrefix and return empty
instead of blowing up.
2010-11-12 16:07:51 +00:00
Andreia Gaita 972005a311 [Xml] Only call Close on the base Writer if it hasn't been closed yet. Fixes #651647
The serialization classes provided by the SL toolkit
(System.Runtime.Serialization.dll) don't like having Close called more than
once, so it seems that they don't check their own state and we have to do it
to avoid making repeated Close calls.
2010-11-09 18:02:27 +00:00
Atsushi Eno 8a15a405a9 2010-06-30 Atsushi Enomoto <[email protected]>
* XmlDefaultWriter.cs : add state management support. 
	* XmlWriter.cs : use above feature for "null Settings in source
	  writer" case. This brings some minor .NET compatibility and
	  should fix bug #607697.

	* XmlWriterTests.cs : remove NotWorking everywhere.


svn path=/trunk/mcs/; revision=159714
2010-06-30 07:05:11 +00:00
Atsushi Eno 08afe91b30 2010-06-30 Atsushi Enomoto <[email protected]>
* XmlDefaultWriter.cs : new source (which I once wrote for relaxng
	  and corcompare).
	* XmlWriter.cs : in some cases XmlWriter.Create() returns a new
	  wrapping writer instance.
	  If there was no Settings specified, return null.

	* System.Xml.dll.sources,
	  moonlight_raw_System.Xml.dll.sources,
	  monotouch_System.Xml.dll.sources : add DefaultXmlWriter.cs.

	* XmlWriterTests.cs : add a bit more assertions.
	  Remove NotWorking from some tests.


svn path=/trunk/mcs/; revision=159712
2010-06-30 06:40:47 +00:00