To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=91534
Issue #|91534
Summary|Cannot open a Writer file with a ruby text due to XML
|format error
Component|Word processor
Version|OOo 3.0 Beta
Platform|Unknown
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|save-export
Assigned to|mru
Reported by|tora
------- Additional comments from [EMAIL PROTECTED] Thu Jul 10 09:26:49 +0000
2008 -------
Phenomenon:
An attempt of opening a Writer file results in failure with a dialog message:
"Format error discovered in the file in sub-document content.xml
at 28,50(row,col)"
Reproduction:
1. Start Writer.
2. Type a word as a base text at the top of line.
3. Select it.
4. Format > Asian Phonetic Guide...
5. Fill a Ruby text field corresponding to the Base text.
6. press a button [Apply] to apply the ruby text to the base text.
7. press a button [Close] to close the dialog.
8. File > Save (File: a.odt)
9. File > Close
10. File > Open... to confirm that the file can be opened witout any problem.
11. Locate a cursor at the to of line right before the base text.
12. Type an Enter key.
13. File > Save As... (File: b.odt)
14. File > Close
15. File > Open... to try to open the file b.odt.
An dialog widow would appear telling that a format error is discovered.
Quick Investigation:
content.xml in the file a.odt (no problem, as expected):
<text:p text:style-name="Standard">
<text:ruby text:style-name="Ru1">
<text:ruby-base>BASETEXT</text:ruby-base>
<text:ruby-text>RUBYTEXT</text:ruby-text>
</text:ruby>
</text:p>
content.xml in the file b.odt (with format error, something goes wrongly):
<text:p text:style-name="Standard">
<text:ruby text:style-name="Ru1">
<text:ruby-base/>
<text:p text:style-name="Standard">BASETEXT</text:ruby-base>
<text:ruby-text>RUBYTEXT</text:ruby-text>
</text:ruby>
</text:p>
Tags <text:ruby-base> and <text:p> are jummed in the file content.xml of b.odt.
This phenomenon is originally reported by comatsu in the Japanese OOo Q&A.
http://oooug.jp/faq/index.php?faq/4/1141
M.Kamataki subsequently confirms that the phenomeon can be observed with
OpenOffice.org 2.0.4, 2.2.1, 2.4.1, and 3.0 Beta.
---------------------------------------------------------------------
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]