Hello,
I am testing CPSOOo and when I upload an odt or sxw file the content is
not indexed. In debug mode, the information thrown to the console is:
---------------------------------------------
2007-06-25 12:54:18 INFO PortalTransforms PATH FROM
application/vnd.oasis.opendocument.text TO application/docbook+xml :
[<Transform at ooo_to_docbook>]
There isn't any value for this parameter. There should be an error in
your config.xml.
------------------------------------------------------
The name searched is "ooo2" and the content of the global variable
configElts is:
-----------------------------------------------------------------------
[(u'xslt-command', {u'param-syntax': u'--stringparam %s %s', u'command':
u'xsltproc %v -o %o %s %i', u'name': u'xsltproc'}),
(u'xslt-command', {u'param-syntax': u'%s=%s', u'command': u'java
com.icl.saxon.StyleSheet -o %o %i %s %v', u'name': u'saxon'}),
(u'xslt-command', {u'param-syntax': u'%s=%s', u'command': u'java
com.icl.saxon.StyleSheet -r
org.apache.xml.resolver.tools.CatalogResolver -x
org.apache.xml.resolver.tools.ResolvingXMLReader -y
org.apache.xml.resolver.tools.ResolvingXMLReader -u -o %o %i %s %v',
u'name': u'saxon-cat'}),
(u'xslt-stylesheet', {u'stylesheetPath': u'ooo2dbk.xsl', u'name':
u'o2d4windows'}),
(u'xslt-stylesheet', {u'stylesheetPath': u'ooo2dbk.xsl', u'name':
u'o2d4unix'}),
(u'dtd', {u'doctype-public': u'"-//OASIS//DTD DocBook XML V4.4//EN"',
u'name': u'docbook44', u'doctype-system':
u'"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"'}),
(u'dtd', {u'doctype-public': u'"-//OASIS//DTD DocBook XML V4.3//EN"',
u'name': u'docbook43', u'doctype-system':
u'"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"'}),
(u'dtd', {u'doctype-public': u'"-//OASIS//DTD DocBook XML V4.1.2//EN"',
u'name': u'docbook412', u'doctype-system':
u'"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"'}),
(u'images', {u'imageNameRoot': u'img', u'imagesRelativeDirectory':
u'images'}),
(u'oooserver', {u'host': u'localhost', u'port': u'2002'}),
(u'ole', {u'imgFormat': u'png', u'scriptPath': u'ole2img.py'}),
(u'ooopython', {u'path': u'/usr/bin/python'})]
---------------------------------------------------------------------
I have been looking at the file ooo2dbk.xml and it seems to have a
statement for ooo2 as it has these lines:
---------------------------------------------------------
<xslt-stylesheet
name="ooo2"
stylesheetPath="ooo2dbk.odf.xsl"
/>
--------------------------------------------------------
Anybody knows what is going on here? I have been looking at
http://svn.nuxeo.org/trac/pub/browser/CPS3/products/CPSOOo/trunk/README.txt
but everything that is said in the instructions seems to be ok.
Why the OOO Document does not uses the same transform as the one used by
the type "File"?
Thank you very much,
--
Jose Luis de la Rosa
Técnico de Innovación y Tecnología
Fundación IAVANTE
Telf.: 951 01 53 13 - Fax: 951 01 53 01
www.iavante.es
Este correo electrónico y, en su caso, cualquier fichero anexo, contiene
información confidencial exclusivamente dirigida a su(s)
destinatario(s). Toda copia o divulgación deberá ser autorizada por
IAVANTE.
This e-mail and any attachments are confidential and exclusively
directed to its adressee(s). Any copy or distribution will have to be
authorized by IAVANTE.
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel