El mar, 21-03-2006 a las 19:03 +0100, Paloma Gomez escribió: > 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)
The step 4. I never have done, maybe for the sake of testing just leave it alone this time. > > Now when I try to access the publication I get this error: > [quote] > Resource not found: cocoon://menu-xml/module/authoring/opendocument.xml Hmm, I just did a change in the menus.xmap, can you try again after svn up on 1.4? > org.apache.cocoon.ProcessingException: Unable to get transformer > handler for cocoon://lenya-page/prueba/authoring/index.xml?doctype=xhtml That is weird, did you request http://localhost:8080/.../authoring/index.html ? > 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, That should work as well but has the downside, that you are patching the core. The other location I told you has preference over the core location and you do not have to patch the core. ;) > because I didn't understand well the difference between /build and > /src. The changes in the build *should* be reflected after the next refresh, but they will be deleted with the next ./build.sh clean!!! I am using the build sometimes to develope xsl, but you never *have to* forget that you are working in the build and need to sync the sources otherwise you may loose your work (next ./build.sh clean). All changes in the src/ are "forever" meaning they get deployed with the next ./build.sh. Some files (like all java) need to be changed in the src because they need to be compiled. > I don't know if this may be relevant or not. You did it right, this way you have the changes in the next build. > > > > 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: doh ;) We need to see the first matches. ;) > <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" > > > > Vivo tambien en sevilla. ;) > ;-) > ¿eres de betis or de sevilla? ;) HTH salu2 -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]