https://bz.apache.org/ooo/show_bug.cgi?id=79650

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |4.2.0-dev
    Confirmation in|                            |
                 CC|                            |[email protected]

--- Comment #6 from [email protected] ---
This still happens in the latest trunk, but can be worked around quite easily:

xmllint --format test.xml > test2.xml

By deleting different pages and sections from test2.xml to narrow down where it
hangs, I found that deleting the <WorksheetOptions> section, like this patch
would do, is enough to get it to open successfully:

---snip---
--- test2.xml   2025-11-19 06:21:12.974817000 +0200
+++ test2.xml   2025-11-19 06:29:49.933574000 +0200
@@ -423,33 +423,6 @@
     <Cell ss:Index="22" ss:StyleID="Default"/>
    </Row>
   </Table>
-  <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
-   <PageSetup>
-    <Layout x:Orientation="Landscape"/>
-    <Header x:Margin="0.51181102362204722" x:Data="&amp;V20060713&#10;"/>
-    <Footer x:Margin="0.51181102362204722"/>
-    <PageMargins x:Bottom="0.98425196850393704" x:Left="0.39370078740157483"
-     x:Right="0.39370078740157483" x:Top="0.98425196850393704"/>
-   </PageSetup>
-   <Unsynced/>
-   <Print>
-    <ValidPrinterInfo/>
-    <PaperSizeIndex>8</PaperSizeIndex>
-    <Scale>90</Scale>
-    <HorizontalResolution>600</HorizontalResolution>
-    <VerticalResolution>600</VerticalResolution>
-   </Print>
-   <Selected/>
-   <DoNotDisplayZeros/>
-   <Panes>
-    <Pane>
-     <Number>3</Number>
-     <ActiveRow>4</ActiveRow>
-    </Pane>
-   </Panes>
-   <ProtectObjects>False</ProtectObjects>
-   <ProtectScenarios>False</ProtectScenarios>
-  </WorksheetOptions>
  </Worksheet>
  <Worksheet ss:Name="Blad2">
   <Table ss:ExpandedColumnCount="0" ss:ExpandedRowCount="0" x:FullColumns="1"
---snip---

Now why and how does it hang with that section present?

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.

Reply via email to