Apache OpenOffice (AOO) Bugzilla – Issue 22502
Bug in filter for loading external XML formats through XInputstream (e.g. docBook)
Last modified: 2013-02-24 21:08:50 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)
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?
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.
I will look into it, but it's not P2
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 ... :(
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?
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.
closed