Apache OpenOffice (AOO) Bugzilla – Issue 49573
mxComponentLoader.loadComponentFromURL accepts only URLs containing backslashes
Last modified: 2013-02-24 21:06:34 UTC
Today i updated to the beta version and tried to run my conversion program, when in ran into the following issue: The "normal" file url using windows xp would be file:/driveLetter:/anyDirectoryStructure/ExampleFile.suffix The beta version (1.9.104) returns an error stating "URL seems to be an unsupported one". The only file urls oo accepts are url containing backslashes: file://driveLetter:\dir\file
Addendum: The annoying part is, that storing via xStorable.storeAsURL(target, propertyvalue) fails, IF the file url contains backslashes. Even if the previous reported error was working as intend, this would be inconsistent. Great product otherwise, both thumbs up!
loadComponentFromURL only supports urls and is supposed to throw an exception in case it gets a wrong parameter. None of yours are file-urls and I wonder that the second worked for you. What works like a charm for me are real urls like file:///driveLetter:/anyDirectoryStructure/ExampleFile.suffix
closing