Hi Paloma,

Paloma Gomez wrote:
Hi Thorsten,

Hmm, if you place it to
{yourPub}/lenya/modules/opendocument/xslt/opendocument2xhtml.xsl and do
./build.sh clean
./build.sh
./lenya.sh

It should be triggered.
Here is what I've done:
1. I've copied it to the place you suggested
2. build.sh clean
3. build.sh
4. build.sh install-pub -Dpub.prefix="" (Otherwise
index_manager_index.xconf is not loaded)

Now when I try to access the publication I get this error:
[quote]
Resource not found: cocoon://menu-xml/module/authoring/opendocument.xml

org.apache.cocoon.ProcessingException: Unable to get transformer
handler for cocoon://lenya-page/prueba/authoring/index.xml?doctype=xhtml
at <map:serialize type="xhtml"> -
file:/usr/local/jakarta-tomcat-5.0.28/webapps/lenya/lenya/pubs/default/sitemap.xmap:227:50
at <map:transform> -
file:/usr/local/jakarta-tomcat-5.0.28/webapps/lenya/lenya/pubs/default/sitemap.xmap:207:91
at <map:transform> -
file:/usr/local/jakarta-tomcat-5.0.28/webapps/lenya/lenya/pubs/default/sitemap.xmap:200:164
at <map:generate> -
file:/usr/local/jakarta-tomcat-5.0.28/webapps/lenya/lenya/pubs/default/sitemap.xmap:189:171
at <map:mount> -
file:/usr/local/jakarta-tomcat-5.0.28/webapps/lenya/global-sitemap.xmap:428:113
at <map:mount> -
file:/usr/local/jakarta-tomcat-5.0.28/webapps/lenya/sitemap.xmap:634:106

cause: org.apache.avalon.framework.CascadingException: Resource not
found: cocoon://menu-xml/module/authoring/opendocument.xml
[/quote]

Yesterday I replaced the opendocument2xhtml.xsl in
/$LENYA_HOME/src/modules/opendocument/xslt with the one I downloaded,
because I didn't understand well the difference between /build and
/src. I don't know if this may be relevant or not.
Blank page sounds a lot like not matching something. ;)

Can we see the first 10-20 lines of the stylesheet you are using?

Here are the first 20 lines:
<xsl:stylesheet version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
    xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
    xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0"
    xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
    xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
    xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
    xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
    xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
    xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
    xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
    xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
    xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
    xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
    xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"

    xmlns:dc="http://purl.org/dc/elements/1.1/";
    xmlns:xlink="http://www.w3.org/1999/xlink";
    xmlns:math="http://www.w3.org/1998/Math/MathML";
    xmlns:xforms="http://www.w3.org/2002/xforms";
Could you provide the first 20 lines after all of the namespace declarations? Thanks.

-- Jonathan
Vivo tambien en sevilla. ;)
;-)

Saludos,
Paloma

--
Paloma Gomez
University of Seville

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




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

Reply via email to