Issue 58147 - RTF files generated by bmwi-softwarepaket.de can not be opened
Summary: RTF files generated by bmwi-softwarepaket.de can not be opened
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.0
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-11-18 23:15 UTC by bero
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Sample file (292.85 KB, application/rtf)
2005-11-18 23:18 UTC, bero
no flags Details
The fixed document with matching parenthesis (292.85 KB, text/rtf)
2005-11-20 01:22 UTC, lohmaier
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bero 2005-11-18 23:15:24 UTC
Hi,  
The German ministry of economy is offering a web form to generate business  
plans (http://bmwi-softwarepaket.de/). Filling out the form generates an RTF  
file that can't be imported by OOo 2.0. 
 
Trying to open the attached sample results in 
 
Read-Error. 
File format error found at 1329,15(row,col).
Comment 1 bero 2005-11-18 23:18:24 UTC
Created attachment 31626 [details]
Sample file
Comment 2 Rainer Bielefeld 2005-11-19 09:19:05 UTC
I tried with various programs:
“2.0 German version WIN XP: [680m3(Build8968)]â€: Document will not be opened,
error message "formatting error line 1329, col. 15

“1.1.4 (German) WIN XP: [645m52 (Build 8824)]â€: Document will not be opened,
error message "formatting error line 1329, col. 15

WORD2000: Document will be opened, but opening takes very much time, in between
error message "not enough memory"-

WIN WORKS 4.5a: Opens Document without problems.

EditPad light, Only test for file errors: Opens Document without problems (but
of course, undreadable, because this format is not supported).

It seems that it's a problem of the "bmwi"-software and not an OOo problem, but
someone with more RTF-knowledge should check that (and contact bmwi?)

@bero:
pls. add some more information concerning "bmwi"-software version, name of the
program you used for creating the document, support address, ...
Comment 3 Rainer Bielefeld 2005-11-19 09:50:46 UTC
Wrong decision: OOo might show an error message, but should be able to open that
document. So back to prio.3
Comment 4 mci 2005-11-19 10:05:50 UTC
just for the records:

tried to open the file using KWord 1.3.3, Abiword 2.0.6...
KWord:    crashes!!
Abiword:  error while importing the file (no crash...)

==> seems to me to be an error of the bmwi-software....
Comment 5 bero 2005-11-19 12:41:58 UTC
KWord 1.4.2 can open parts of it but doesn't get all the info.   
   
I agree that probably the bmwi software is buggy, but since M$ crap can open  
it they won't care (if they cared they'd output a more standard format in the  
first place) and the users will blame OOo (you wouldn't want to hear what our  
business guy told me after spending 6 hours to fill out the forms just to find  
out he can't open it), so we probably need some "bug compatibility" with M$  
here.  
  
The stuff he used to generate this RTF is the online business planner (web  
forms at https://www.bmwi-softwarepaket.de/gp/, as of 2005/11/18). They don't  
provide a support address, but there's a "contact us" web form at 
https://www.bmwi-softwarepaket.de/swt/kontakt/?open=5746&active=5746 (but 
whether or not they actually read what anyone writes there is anyone's guess). 
 
Even if we can get them to fix their output, we should probably fix importing 
the broken one -- similar errors are likely to occur on other "made for M$ 
without any testing on other platforms" stuff. 
Comment 6 bero 2005-11-19 13:02:31 UTC
KWord 1.4.2 can open parts of it but doesn't get all the info.    
    
I agree that probably the bmwi software is buggy, but since M$ crap can open   
it they won't care (if they cared they'd output a more standard format in the   
first place) and the users will blame OOo (you wouldn't want to hear what our   
business guy told me after spending 6 hours to fill out the forms just to find   
out he can't open it), so we probably need some "bug compatibility" with M$   
here.   
   
The stuff he used to generate this RTF is the online business planner (web   
forms at https://www.bmwi-softwarepaket.de/gp/, as of 2005/11/18). They don't   
provide a support address, but there's a "contact us" web form at  
https://www.bmwi-softwarepaket.de/swt/kontakt/?open=5746&active=5746 (I've 
already asked them to fix their file generator, but whether or not they 
actually read what anyone writes is anyone's guess).  
 
Even if we can get them to fix their output, we should probably fix importing  
the broken one -- similar errors are likely to occur on other "made for M$  
without any testing on other platforms" stuff. 
Comment 7 lohmaier 2005-11-20 01:18:51 UTC
I don't know the RTF-specs, but I'm pretty confident that the parenthesis must
be matching. The attached document has one closing parenthesis more than opening
ones.

When I remove the one in line 1329, then the document can be opened.
Note that the document contains drawing objects on the first page. OOo doesn't
support these yet (see issue 3790).

$ diff businessplan.rtf fixed.rtf
1329c1329
< \par }\par }{\b
---
> \par }\par {\b
Comment 8 lohmaier 2005-11-20 01:22:33 UTC
Created attachment 31636 [details]
The fixed document with matching parenthesis
Comment 9 michael.ruess 2005-12-07 16:34:22 UTC
It is generallya problem of the bmwi software. It generates too less parenthesis
for a valid RTF code.
OO Writer would need a comlex algorithm (like MS Word) to "fix" this automatically.
Comment 10 ace_dent 2008-05-15 15:11:05 UTC
This Issue requires more information ('needmoreinfo'), but has not been updated
within the last year. Please re-test with one of the latest versions of OOo -
the problem(s) may have already been addressed. Either use the recent stable
version: http://download.openoffice.org/index.html
or consider trying the new OOo 3 BETA (still in testing):
http://download.openoffice.org/3.0beta/
 
Please report back the outcome so this Issue may be closed or progressed as
necessary - otherwise it may be Resolved as Invalid in the future. You may also
wish to search for (and note) any duplicates of this Issue that may have
advanced further :
http://www.openoffice.org/issues/query.cgi
 
Many thanks,
Andrew
 
Cleaning-up and Closing old Issues as part of:
~ The Grand Bug Squash, pre v3 ~
Comment 11 Rainer Bielefeld 2008-05-17 07:32:11 UTC
Still reproducible with 3.0.0 Beta (and AbiWord 2.4)
So I believe this can remain an "OOo Later" Enhancement issue.