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
<?xml version="1.0" encoding="UTF-8"?> <!--*********************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * ***********************************************************--> <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Filter" oor:package="org.openoffice.TypeDetection"> <node oor:name="Filters"> <node oor:name="MS Word 2003 XML" oor:op="replace"> <prop oor:name="Flags"> <value> <it>IMPORT</it> <it>EXPORT</it> <it>ALIEN</it> <it>3RDPARTYFILTER</it> </value> </prop> <prop oor:name="UIComponent"/> <prop oor:name="FilterService"> <value>com.sun.star.comp.Writer.XmlFilterAdaptor</value> </prop> <prop oor:name="UserData"> <value> <it>com.sun.star.documentconversion.XSLTFilter</it> <it></it> <it>com.sun.star.comp.Writer.XMLOasisImporter</it> <it>com.sun.star.comp.Writer.XMLOasisExporter</it> <it>%origin%/../filter/wordml2ooo.xsl</it> <it>%origin%/../filter/ooo2wordml.xsl</it> <it>true</it> <it>true</it> </value> </prop> <prop oor:name="FileFormatVersion"> <value>0</value> </prop> <prop oor:name="Type"> <value>writer_MS_Word_2003_XML</value> </prop> <prop oor:name="TemplateName"/> <prop oor:name="DocumentService"> <value>com.sun.star.text.TextDocument</value> </prop> <prop oor:name="UIName"> <value xml:lang="en-US">Microsoft Word 2003 XML</value> </prop> </node> </node> </oor:component-data>
pgpJXfxH82Sgb.pgp
Description: PGP signature