Hi Kai,

first of all, thanks for your prompt reply!
see my comments inline:

Alle 14:59, venerdì 24 novembre 2006, Kai Sommerfeld ha scritto:
> Hi Paolo,
>
> >     sUrl = "file:///home/paolo/Library1.uno.pkg"
> >
> >     'This one DOES NOT WORK!
> >     sUrl = _
> >     "vnd.sun.star.pkg://" & Join(Split(sUrl, "/"), "%2F")
> > & "/META-INF/manifest.xml"
>
>  Using "vnd.sun.star.zip://" instead of "vnd.sun.star.pkg://" should do
> the trick.

It works!!! Great!!


>  "vnd.sun.star.pkg" URL addresses an OO.o package, not a plain zip file.
>  OO.o package does not allow access to all content of the zip file it
> actually resides in. 
> The fact that an OO.o package is a zip file is 
> actually an implementation detail.

I didn't thought this, but it actually makes sense, especially for the 
manifest.xml that is a special file for ooo packages and in the other hand it 
is a regular content for zip files.


Thank you very much
Paolo Mantovani

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to