abiword saves document it can't open, inserts duplicate props attributes in xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
abiword (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Here is an exerpt of the XML generated when saving a document as .abw:
If the average node has OL outlinks, then we can expect our naive algorithm to be approximately O(OL</c><c props="" props="
This was text I copy-pasted into abiword. Apparently it decided (correctly in this case) that a carot was supposed to indicate a superscript, but it botched the xml generation, introducing duplicate contradictory "props" for one element.
Abiword will not open this document. Needless to say, I consider it a pretty serious issue when a word processor fails to open a file I had saved from that same program previously.
xmllint generates the following output:
provisional-
orithm to be approximately O(OL</c><c props="" props="
provisional-
n is that we can turn that O(OL</c><c props="" props="
provisional-
erscript"
I was able to restore the document to a state that could be opened by manually deleting the empty "props" attributes.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: abiword 2.9.2+svn20120213-1
ProcVersionSign
Uname: Linux 3.2.0-54-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.5
Architecture: amd64
Date: Mon Nov 4 18:01:35 2013
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.3)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: abiword
UpgradeStatus: No upgrade log present (probably fresh install)