Cyriaque, sorry that that happened to you. I wonder if using svn:external is warranted. This is the only place that we use it in Forrest SVN.
Perhaps it would be better to have an 'svn copy' and deliberately merge from time-to-time as needed. -David Cyriaque Dupoirieux wrote: > le 09/10/2006 23:24 Renaud Richardet a ??crit : > >Hello, > Hello, > > > >I get the following error when opening the odt sample page on zones > >(http://lenya.zones.apache.org:9999/default/authoring/doctypes/opendocument.html): > > > > > > > >Could not find variable with the name of dirname > > > >org.apache.cocoon.ProcessingException: Failed to process pipeline at > >[TransformerException] - > >file:/export/home/lenya/src/lenya-trunk/build/lenya/webapp/lenya/modules/opendocument/xslt/common/odt_to_xhtml.xsl:476:109 > > > >at <map:serialize type="xml"> - > >file:/export/home/lenya/src/lenya-trunk/build/lenya/webapp/lenya/modules/opendocument/sitemap.xmap:62:36 > > > >at <map:transform> - > >file:/export/home/lenya/src/lenya-trunk/build/lenya/webapp/lenya/modules/opendocument/sitemap.xmap:57:96 > > > >at <map:generate> - file:/exp > > > >Is the issue somehow similar to > >http://mail-archives.apache.org/mod_mbox/forrest-dev/200606.mbox/[EMAIL > >PROTECTED] > >? > I didn't know I was working on a Lenya file. > The variable is defined in the parent stylesheet which is a forrest file. > I am going to rollback because I am so surprised that I don't know at > the moment what to do... > > Sorry, > > Salutations, > Cyriaque, > > > > >--Renaud > > > >[EMAIL PROTECTED] wrote: > >>Author: cdupoirieux > >>Date: Thu Oct 5 02:31:28 2006 > >>New Revision: 453159 > >> > >>URL: http://svn.apache.org/viewvc?view=rev&rev=453159 > >>Log: > >>Images management. > >>(inspired by the OOo plugin.) > >> > >>Modified: > >> lenya/trunk/src/modules/opendocument/xslt/common/odt_to_xhtml.xsl > >> > >>Modified: > >>lenya/trunk/src/modules/opendocument/xslt/common/odt_to_xhtml.xsl > >>URL: > >>http://svn.apache.org/viewvc/lenya/trunk/src/modules/opendocument/xslt/common/odt_to_xhtml.xsl?view=diff&rev=453159&r1=453158&r2=453159 > >> > >> > >>============================================================================== > >> > >> > >>--- lenya/trunk/src/modules/opendocument/xslt/common/odt_to_xhtml.xsl > >>(original) > >>+++ lenya/trunk/src/modules/opendocument/xslt/common/odt_to_xhtml.xsl > >>Thu Oct 5 02:31:28 2006 > >>@@ -463,6 +463,21 @@ > >> <li><xsl:apply-templates/></li> > >> </xsl:template> > >> > >>+ <!--+ > >>+ | Images > >>+ +--> > >>+<xsl:template match="draw:[EMAIL PROTECTED]:show]"> > >>+ <xsl:variable name="href"><xsl:value-of > >>select="@xlink:href"/></xsl:variable> > >>+ <xsl:choose> > >>+ <xsl:when test="starts-with($href, 'http:')"> > >>+ <img src="{$href}" alt="[EMAIL PROTECTED]:name}"/> > >>+ </xsl:when> > >>+ <xsl:otherwise> > >>+ <img > >>src="/{$dirname}openDocumentEmbeddedImages/zip-{$filename}.odt/file-{$href}" > >> > >>alt="{../@draw:name}"/> > >>+ </xsl:otherwise> > >>+ </xsl:choose> > >>+</xsl:template> > >>+ > >> <xsl:template match="table:table"> > >> <table class="[EMAIL PROTECTED]:style-name}"> > >> <colgroup> > >> > >> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: [EMAIL PROTECTED] > >>For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > >> > >
