To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72950
                 Issue #|72950
                 Summary|content.xml without newlines crash. content.xml with n
                        |ewlines works
               Component|Word processor
                 Version|OOo 2.0.4
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|open-import
             Assigned to|mru
             Reported by|xkjyeah





------- Additional comments from [EMAIL PROTECTED] Wed Dec 27 08:54:58 -0800 
2006 -------
I hate to dump an XML file, but this is a curiosity.

I was meddling with the columns (on Windows) when OpenOffice crashed. Recovering
the document did not help. Opening the old document crashes OpenOffice again.

So I brought it over to Linux. The document still crashed. I tried to do a diff
between a non-crashing and crashing version. But because there were no line
breaks within the document, using VIM, I did this to content.xml:

:0;$s/>/>\r/g

which replaced every '>' with '>\n'. Magically, after doing that, the document
no longer crashed. Syntatically speaking, the XML file has not changed, so there
must be a bug in OpenOffice parser.

I cannot reproduce the original situation that created the funny XML. However I
have attached the XML file for the developer who can interpret the debug output
from OpenOffice's XML.  Since it is a case of the problem producing valid XML
that the same program cannot interpret, it must be a problem with the parser.

My apologies: the errant document was created under 2.1 windows, crashed 2.1
windows and 2.0.4 ubuntu build. Fixed document tested only under 2.0.4 ubuntu
build, but I believe it's the same problem.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to