[Mono-bugs] [Bug 332246] Strange problem in Mono's XML and/or XSLT code

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 10 18:00:11 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=332246#c6





--- Comment #6 from Tor Lillqvist <tlillqvist at novell.com>  2007-10-10 16:00:11 MST ---
Yeah. Modifying OOXStyleCellPostProcessor.WriteEndAttribute() *and*
OoxMaximumCellTextPostProcessor.WriteEndAttribute() as you say helped. Now the
converter produces valid XML for the problematic .ods files. Not exactly
identical to what .NET produces, but seems to be close enough.

(The mechanism behind the invalid XML was apparently the magic going on with
the writer field of XmlTextWriter. It is set temporarily to point to the
preserver field in XmlTextWriter.WriteStartAttribute(), and then restored in
WriteEndAttribute(), but when WriteEndAttribute wasn't called, it didn't get
restored properly and part of the output like the start of the <t> element was
lost. Or something like that. Maybe implementing the Microsoft lameness
workalike of bug #332714 would also fix the problem.)

Thanks a million!


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list