At 9:48 AM +0100 7/9/04, Roberto Tyley wrote:
This probably isn't worth opening up a whole bug report, but I noticed
while attempting to build struts for myself that the 'dist' task fails
due to doc/stylesheets/struts.xsl being an invalid XSL file - the
variable 'src' is declared twice in the same scope (illegal in xsl) at
around line 76:


I'm assuming that Ted made the release using dist. What XSLT transform library are you using? I have xalan-2.4.1.jar in my $ANT_HOME/lib and I can build the docs fine.

That said, since that does seem to be illegal in XSL, I fixed the style-sheet.

Joe



        <xsl:variable name="src">
          <xsl:value-of select="$relative-path"/><xsl:value-of
select="$home-logo"/>
        </xsl:variable>
        <a href="http://apache.org/";>
            <img src="{$src}" alt="The Apache Project"
id="asf_logo_wide"/>
        </a>

        <xsl:variable name="src">
            <xsl:value-of select="$relative-path"/><xsl:value-of
select="$project-logo"/>
        </xsl:variable>

Roberto


--------------------------------------------------------------- - Visit our Internet site at http://www.reuters.com

Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging

Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.


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


--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana


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



Reply via email to