mono/mono — pull request #288 by ewxrjk (2012-05-03 10:46:10+00:00)
Title: Fix XmlTextWriter's use of NewLineHandling.

- 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.