First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 1983
Product:
Component:
Status: VERIFIED
Resolution: DUPLICATE of bug 247
Assigned To: Sam TH <sam+bugzilla@uchicago.edu>
Hardware:
OS:
Version:
Priority:
Severity:
Target Milestone:
Reporter: xsdg <xsdg@openprojects.net>
Add CC:
CC:
QA Contact:
URL:
Summary:
Status Whiteboard:
Keywords:

Attachment Type Creator Created Size Flags Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1983 depends on: Show dependency tree
Show dependency graph
Bug 1983 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2001-09-07 19:09
I was typing a document, and noticed that the file it was stored in became very
large very quickly.  When I completed, the 4-page document (Times New Roman,
12pt) totaled almost one megabyte.  I examined the file to determine the cause,
and was immediately surprised by the number of tags present.  I have excerpted a
sentence (14 words, included below), to illustrate:

<c props="lang:en-US; dir:ltr">He</c><c props="lang:en-US; dir:n
trl"> </c><c props="lang:en-US; dir:ltr">then</c><c props="lang:en-US;
dir:ntrl"> </c><c props="lang:en-US; dir:ltr">settled</c><c props="lang
:en-US; dir:ntrl"> </c><c props="lang:en-US; dir:ltr">in</c><c
props="lang:en-US; dir:ntrl"> </c><c props="lang:en-US; dir:ltr">a</c><c props=
"lang:en-US; dir:ntrl"> </c><c props="lang:en-US; dir:ltr">small</c><c
props="lang:en-US; dir:ntrl"> </c><c props="lang:en-US; dir:ltr">commun
ity</c><c props="lang:en-US; dir:ntrl"> </c><c props="lang:en-US;
dir:ltr">outside</c><c props="lang:en-US; dir:ntrl"> </c><c props="lang:en-US;
dir:ltr">the</c><c props="lang:en-US; dir:ntrl"> </c><c props="lang:en-US;
dir:ltr">city</c><c props="lang:en-US; dir:ntrl"> </c><c props="
lang:en-US; dir:ltr">and</c><c props="lang:en-US; dir:ntrl"> </c><c
props="lang:en-US; dir:ltr">took</c><c props="lang:en-US; dir:ntrl"> </c><
c props="lang:en-US; dir:ltr">up</c><c props="lang:en-US; dir:ntrl"> </c><c
props="lang:en-US; dir:ltr">writing</c><c props="lang:en-US; dir:n
trl">.  </c>
As is visible, the tag pair '<c props="lang:en-US; dir:ltr">...</c>' is utilized
once for each word, and '<c props="lang:en-Us; dir:ntrl">...</c>' is utilized
for continuous runs of intervening spaces.  As I have not looked at the .abw DTD
yet, I have not determined whether this is a format specification problem, or
(hopefully) an implementation problem.

I have determined that "dir:ltr" == "direction: left-to-right", but I have not
figured out "dir:ntlr".  There is probably some hidden problem that I do not
see, but to me, the obvious solution is to remove the "dir:ntlr" formatting for
spaces.  As an unofficial test, I removed all tags from my 1-meg document, and
ended up with a 15kB file.  Even though this is not exactly realistic, assuming
that the necessary tags in the document used 95kB, the size of the document will
still be 10% of what it was, a sizeable (no pun intended) savings indeed.

I am using the latest (as of 999907606) Debian GNU/Linux/PPC abiword package.

------- Comment #1 From kobmy002@students.unisa.edu.au 2001-09-07 20:28:09 -------
*** This bug has been confirmed by popular vote. ***

------- Comment #2 From Hubert Figuiere 2001-09-10 10:17:02 -------

*** This bug has been marked as a duplicate of 247 ***

------- Comment #3 From Jesse Weinstein 2001-09-25 21:31:14 -------
Yep, it's a duplicate.  Marking as CLOSED.

First Last Prev Next    No search results available      Search page      Enter new bug