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





--- Comment #6 from Tor Lillqvist <[EMAIL PROTECTED]>  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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to