Possible Bug with attribute value templates? --------------------------------------------
Key: XALANJ-2520 URL: https://issues.apache.org/jira/browse/XALANJ-2520 Project: XalanJ2 Issue Type: Bug Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.) Components: Xalan Affects Versions: 2.7.1 Reporter: Richard Groote Our application is tested under a heavy load. The following piece of code will result in http 404 errors within the access log of apache. <link rel="stylesheet" type="text/css" media="screen,print" href="{$base-path}/css/domcollapse.css" /> Sometimes the url wil be created correctly and sometimes the url is transformer to something like "Webapp/css/domcollapse.css/Webapp/c.css" A solution for this problem is to define the stylesheet as defined below <link rel="stylesheet" type="text/css" media="screen,print"> <xsl:attribute name="href"> <xsl:value-of select="$base-path"/> <xsl:text>/css/domcollapse.css</xsl:text> </xsl:attribute> </link> Does anyone why the first approach does not work? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org