- Move the setting of newline_handling early enough that Initialize()
can see it.
- Reduce the set of characters that trigger the slow path for
attribute values for the NewLineHandling.None case.
- Rewrite the handling of \t, \r and \n to match the MS docs
(which match the observed behavior of their implementation)
- Add some tests.
* XmlTextWriter2.cs : fix extraneous indentation which is put after
omitted xmldecl.
* XmlWriterSettingsTests.cs : added test for extraneous newline on
OmitXmlDeclaration mode.
svn path=/trunk/mcs/; revision=83958
* XmlNode.cs : InnerText is settable on XmlDocumentFragment (silly,
but since XmlDocumentFragment does not override this property
it must be handled here).
* XmlDocumentFragmentTests.cs : added InnerText().
* XmlWriterSettingsTests.cs : replace \r\n with \n to make it pass
on windows.
svn path=/trunk/mcs/; revision=79457
* XmlTextWriter2.cs : fixed some relationship between
ConformanceLevel, OmitXmlDeclaration and WriteStartDocument().
See new tests more details.
* XmlWriter.cs : it could reuse XmlTextWriter.ctor(TextWriter,
XmlWriterSettings). It also resulted in dropping several internal
members in XmlTextWriter.
* XmlWriterSettingsTests.cs : added tests for relationship between
ConformanceLevel, OmitXmlDeclaration and WriteStartDocument().
svn path=/trunk/mcs/; revision=68180
* 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