It looks like mailing lists dont like "binary" data:
katasternehnutelnosti.sk/oxt/xmll.oxt
http://katasternehnutelnosti.sk/oxt/1691624.xml


On Sun, May 19, 2013 at 8:28 AM, Lubos <[email protected]> wrote:

> I have
> ROOT
>  |-- description.xml
>  |-- Type.xcu
>  |-- Filter.xcu
>  |-- filter/navrh.xsl
>  |-- META-INF/manifest.xml
>
> Dot slash in linux is current directory and because i have Filter.xcu in
> root, then path with dot is OK. After trying a lot more path's i realized,
> i can use simple:
>
> com.sun.star.documentconversion.XSLTFilter,,com.sun.star.comp.Writer.XMLOasisImporter,,%origin%/filter/navrh.xsl,
> and with this Filter.xcu is pointing to path (i called extension as
> xmll.oxt)
>
> vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lufdfefm.tmp_/xmll.oxt/filter/navrh.xsl
>
> After testing (xsl - only filter, oxt -the same filter inside extension):
> LO - 4.0.3.3, OO 3.4.1
> LO on Ubuntu - xsl ok, oxt ok
> OO on Ubuntu - xsl ok, oxt dont work
> LO on Windows 7 - xsl dont work, oxt dont work
> OO on Windows 7 - xsl OK, oxt dont work
>
> In attachment is extension and xml (anonymized data)
>
> Maybe is problem in encoding, because xml is windows-1250, but i am not
> sure, because only filter partialy works
>
>
> On Sat, May 18, 2013 at 8:55 PM, Ariel Constenla-Haile <[email protected]
> > wrote:
>
>> Hi Lubus,
>>
>> On Sat, May 18, 2013 at 03:51:19PM +0200, Lubos wrote:
>> > Hmmm.
>> >
>> > Trying in OpenOffice 3.4.1 on Ubuntu and it need one dot.
>>
>> This is rather strange, indeed %origin%/./filter/navrh.xsl looks like
>> invalid URL.
>>
>> The key point is were do place the Filter.xcu?
>>
>> For example, if you have
>>
>> ROOT
>>  |-- description.xml
>>  |-- registry/Filter.xcu
>>  |-- filter/navrh.xsl
>>  |-- META-INF/manifest.xml
>>
>> then %origin%/../filter/navrh.xsl must work.
>>
>> Side note, when you have a string list, it is less error prone to use
>> <it></it> so separate its items, see example attached.
>>
>>
>> Regards
>> --
>> Ariel Constenla-Haile
>> La Plata, Argentina
>>
>
>

Reply via email to