Just a note about the current state of analysis:

the MS 2003 XML import filters heavily rely on recursion over all rows
and columns of the imported file in some template rules. Saxon 8/9 for
Java contain optimizations to handle tail recursion calls in template
rules. libxml and Xalan don't optimize tail recursion and fail importing
larger files sooner or later.

It would be possible to avoid the recursion by doing two transformation
passes, but I won't get to working on this before end of april. As a
quick hack it would be possible extend the maximum allowed recursion
depth for libxslt in the import filter code. But that would only push
the limit a little and not really solve the problem.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/951153

Title:
  [Upstream] Can't open XML files larger than 1.1 MB

Status in LibreOffice Productivity Suite:
  In Progress
Status in “libreoffice” package in Ubuntu:
  Triaged

Bug description:
  1) lsb_release -rd
  Description: Ubuntu precise (development branch)
  Release: 12.04

  2) apt-cache policy libreoffice-writer
  libreoffice-writer:
    Installed: 1:3.5.0-2ubuntu1
    Candidate: 1:3.5.0-2ubuntu1
    Version table:
   *** 1:3.5.0-2ubuntu1 0
          500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
          100 /var/lib/dpkg/status

  3) What is expected to happen in Writer via the Terminal:

  cd ~/Desktop && wget
  
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/951153/+attachment/2845961/+files/11111111111111111111.xml
  && lowriter --nologo 11111111111111111111.xml

  is the file opens successfully.

  4) What happens instead is a window pops up:
  LibreOffice 3.5
  General input/output error.

  The file was verified a valid one via:
  http://www.w3schools.com/dom/dom_validate.asp
  http://www.xmlvalidation.com

  WORKAROUND: Use AbiWord.

  apt-cache policy abiword
  abiword:
    Installed: 2.9.2+svn20120213-1
    Candidate: 2.9.2+svn20120213-1
    Version table:
   *** 2.9.2+svn20120213-1 0
          500 http://us.archive.ubuntu.com/ubuntu/ precise/universe i386 
Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libreoffice (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
  Uname: Linux 3.2.0-18-generic x86_64
  ApportVersion: 1.94.1-0ubuntu1
  Architecture: amd64
  Date: Fri Mar  9 16:18:43 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 
(20120306)
  ProcEnviron:
   LANGUAGE=es_CO:es
   TERM=xterm
   LANG=es_CO.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/951153/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to