You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/04/13 16:17:57 UTC

[Issue 124677] New: Saving presentation leads to "format error" on new file due to doubled xml attribute

https://issues.apache.org/ooo/show_bug.cgi?id=124677

          Issue ID: 124677
        Issue Type: DEFECT
           Summary: Saving presentation leads to "format error" on new
                    file due to doubled xml attribute
           Product: Impress
           Version: 4.0.1
          Hardware: PC
                OS: Linux64
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: bugs@bitmuster.org

Hi there,

I have a large presentation that is not readable anymore when I save it. 

Here is the message of the popup:
"format error discovered in the file in sub-document context.xml at ..."

The file was edited wit LibreOffice for several years before I jumped back to
OO. Now after creating a new master slide in OO there seems to be a serious
problem.

I can open and save the file with LibreOffice Impress Version: 4.1.3.2.
Afterwards I can open the file in OO, but when I save it in OO the file is
again defective. 

I've tried to investigate on content.xml and tried to format it but got an
error there:

$ xmllint --format content.xml
content.xml:2: parser error : Attribute draw:mirror-vertical redefined
rue" draw:type="ooxml-rect" draw:enhanced-path="M 0 0 L ?f3 0 ?f3 ?f2 0 ?f2 Z
N"

Near to the above string I found: "draw:mirror-vertical="false""
After deleting the string the file was readable again in OO.
(This also helped to rescue several hours of work :)

Here is the responsible xml snipped:

...
          <draw:enhanced-geometry draw:mirror-horizontal="false"
draw:mirror-vertical="false" svg:viewBox="0 0 0 0" draw:text-areas="0 0 ?f3
?f2" draw:mirror-vertical="true" draw:type="ooxml-rect" draw:enhanced-path="M 0
0 L ?f3 0 ?f3 ?f2 0 ?f2 Z N">
            <draw:equation draw:name="f0" draw:formula="logwidth/2"/>
            <draw:equation draw:name="f1" draw:formula="logheight/2"/>
            <draw:equation draw:name="f2" draw:formula="logheight"/>
            <draw:equation draw:name="f3" draw:formula="logwidth"/>
          </draw:enhanced-geometry>
...

draw:mirror-vertical is there twice, once with value true and once with false.

Regards,
Michael

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 124677] Saving presentation leads to "format error" on new file due to doubled xml attribute

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124677

--- Comment #5 from Michael <bu...@bitmuster.org> ---

Hello Regina,

I also tried to save it with the new version.

Ive tried to reduce the amount of slides with libreoffice (Version: 4.1.3.2,
Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a) but when I delete a random
slide the presentation becomes readable in OO again and the problem seems to
disappear. I just see the option to send the whole file via PM. Is this also
OK?

I have also managed to identfy a slide with seems to be defect. I deleted
everything else with OpenOffice, all the content of the slide and all master
slides but one (See previously attached file). When I save the "empty" slide I
still get an format error when the file is opened again. 

Regards Michael

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 124677] Saving presentation leads to "format error" on new file due to doubled xml attribute

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124677

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needmoreinfo
                 CC|                            |elish@apache.org

--- Comment #1 from Edwin Sharp <el...@apache.org> ---
Please link presentation.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 124677] Saving presentation leads to "format error" on new file due to doubled xml attribute

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124677

--- Comment #2 from Michael <bu...@bitmuster.org> ---

Hello Edwin, 

Unfortunately, the file is relatively confidential. 
Can I maybe send it via PM?


I have also repoduced the behaviour with

AOO420m1(Build:9800)  -  Rev. 1586681
2014-04-13_04:11:11 - Rev. 1586919

Regards Michael

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 124677] Saving presentation leads to "format error" on new file due to doubled xml attribute

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124677

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel@t-online.de

--- Comment #3 from Regina Henschel <rb...@t-online.de> ---
Thanks you for testing it in a 'daily' build.

Do you have tested to save it with that newest version? Or only tried to open
the already damaged file?

Can you please try to delete as much slides as possible, so that the error is
still there, but the wrong element can be found easier? Then please sent the
file to me via PM.

We saw already wrong saving by LibreOffice, see issue 124452.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 124677] Saving presentation leads to "format error" on new file due to doubled xml attribute

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124677

Edwin Sharp <el...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needmoreinfo                |
             Status|UNCONFIRMED                 |CONFIRMED
             Latest|---                         |4.1.0
    Confirmation on|                            |
     Ever confirmed|0                           |1

--- Comment #6 from Edwin Sharp <el...@apache.org> ---
Confirmed with
AOO410m18(Build:9764)  -  Rev. 1589052
2014-04-22 12:11 - Linux x86_64
Debian

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 124677] Saving presentation leads to "format error" on new file due to doubled xml attribute

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124677

--- Comment #4 from Michael <bu...@bitmuster.org> ---
Created attachment 83232
  --> https://issues.apache.org/ooo/attachment.cgi?id=83232&action=edit
Slide with format error

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.