Issue 22502 - Bug in filter for loading external XML formats through XInputstream (e.g. docBook)
Summary: Bug in filter for loading external XML formats through XInputstream (e.g. doc...
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows 2000
: P3 Trivial
Target Milestone: ---
Assignee: lo
QA Contact: issues@api
URL: http://api.openoffice.org/servlets/Re...
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-11-15 17:21 UTC by flegler
Modified: 2013-02-24 21:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description flegler 2003-11-15 17:21:52 UTC
I have a problem with the XComponentLoader.loadComponentFromURL() in
combination with an XInputStream. When loading a OOo-document everything
works fine. But when loading a file in an xml file format (e.g. docbook,
ooo flat xml format) OOo just opens a new window and closes it right
afterwards.
The according parts of my java-programm are in this mail:
http://api.openoffice.org/servlets/ReadMsg?msgId=935582&listName=dev
The message of the used Interaction Handler are here:
http://api.openoffice.org/servlets/ReadMsg?msgId=938369&listName=dev

(Mathias Bauer thinks: "It seems that the filter for loading external XML 
formats has a bug."
http://api.openoffice.org/servlets/ReadMsg?msgId=938989&listName=dev)
Comment 1 bernd.eilers 2004-02-25 21:36:56 UTC
flegler: In the code for loading the DocBook XML file as you provided it in 
the mailinglist the lines setting the FilterName are commented out. In this 
case OOo has no chance to select a suitable filter as DocBook is not the only 
format registered with .xml filename extension. Does it also not work if you 
uncomment those lines and explicitly specify the filter to use? Did you check 
that the filtername "DocBook File" is indeed correct and matches the 
registration of the DocBook filter?
Comment 2 flegler 2004-02-27 01:41:05 UTC
Even with this lines uncommented it does not work.
In my first posting from 28 Oct 2003 I had a comment on this uncommented lines:
http://api.openoffice.org/servlets/ReadMsg?list=dev&msgId=901646
But in my second posting from 14 Nov 2003 I forgot this extra comment
for some reason:
http://api.openoffice.org/servlets/ReadMsg?msgId=935582&listName=dev
The filtername is set to "DocBook File". Also loading from documents in flat 
xml format fails.
Comment 3 lo 2004-05-25 11:06:38 UTC
I will look into it, but it's not P2
Comment 4 thackert 2004-11-21 15:02:57 UTC
Does this problem also occur in a newer version of OOo (1.1.3 or 1.9.xx)? If
not: Could the original reporter close this issue, please? I have not seen any
entry since May ... :(
Comment 5 thackert 2004-12-26 09:49:03 UTC
I have seen that my last questions were not answered by the original reporter. Does it mean that the issue is 
solved? Or could I close it as "Invalid" or something?
Comment 6 thackert 2005-01-30 17:25:01 UTC
Due to not answering my two last entries I close this issue as invalid. If the
problem also occurs in a newer version of OOo, the issue could be reopened again.
Comment 7 lo 2005-07-11 09:30:08 UTC
closed