Apache OpenOffice (AOO) Bugzilla – Issue 27622
API: TypeDetection could not handle file-URL
Last modified: 2013-02-24 21:09:58 UTC
While a file-URL like "file:/tausch/cn/test.java" could be loaded via loadComponentFromURL this should be be possible in TypeDetection also: Sub Main dim args(1) as new com.sun.star.beans.PropertyValue args(0).Name = "URL" args(0).Value = "file:/tausch/cn/test.java" td = createUnoService("com.sun.star.document.TypeDetection") t = td.queryTypeByDescriptor(args(), true) _s = "" for i=0 to ubound(args()) step 1 _s = _s+args(i).Name+chr(13) next i msgbox _s End Sub
AS->CN: Sorry - but this is not a valid file URL. Because it contains only 1x"/" instead of min. 2x ... mostly 3x ... => "file:///tausch/cn/test.java" Further I cant reproduce this behaviour.
.
cn->as: but in SO7pp2 I could detect the file
AS->CN: As discussed ... that isnt a valid file-URL. Further it seams to be working for a SO 7 pp2 "by luck" only. Our current version handle such invalid file-URLs different ... but in the right way. Please close this bug.
issue is invalid
clse