Sam - have you any ideas why this is necessary?  Is it a bug in xalan?

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 22 March 2001 2:22 pm
> To: [EMAIL PROTECTED]
> Subject: cvs commit: jakarta-alexandria/proposal/gump/stylesheet
> bash.xsl
> 
> 
> rubys       01/03/22 06:21:40
> 
>   Modified:    proposal/gump/stylesheet bash.xsl
>   Log:
>   It appears that ' needs industrial strength escaping...
>   
>   Revision  Changes    Path
>   1.20      +2 -2      
> jakarta-alexandria/proposal/gump/stylesheet/bash.xsl
>   
>   Index: bash.xsl
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-alexandria/proposal/gump/stylesheet/bash.xsl,v
>   retrieving revision 1.19
>   retrieving revision 1.20
>   diff -u -r1.19 -r1.20
>   --- bash.xsl        2001/03/21 18:30:42     1.19
>   +++ bash.xsl        2001/03/22 14:21:40     1.20
>   @@ -624,8 +624,8 @@
>      <xsl:template name="escape">
>        <xsl:param name="string"/>
>    
>   -    <xsl:variable name="work"
>   -      select="translate($string,'(){&amp;#&quot;&apos;',';;;;;;;')"/>
>   +    <xsl:variable name="special"><![CDATA["#&'(){]]></xsl:variable>
>   +    <xsl:variable name="work" 
> select="translate($string,$special,';;;;;;;')"/>
>    
>        <xsl:choose>
>          <xsl:when test="contains($work,';')">
>   
>   
>   
> 
> ---------------------------------------------------------------------
> 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