Update of /cvsroot/kuml/kuml/libkuml/uml/tools
In directory usw-pr-cvs1:/tmp/cvs-serv26006
Modified Files:
common_code.xsl
Log Message:
Corrected bug in list-contains. Was only comparing the start of the
string, not the first entry in the comma-separated list.
Index: common_code.xsl
===================================================================
RCS file: /cvsroot/kuml/kuml/libkuml/uml/tools/common_code.xsl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** common_code.xsl 2001/12/01 19:25:23 1.9
--- common_code.xsl 2001/12/04 22:42:37 1.10
***************
*** 198,202 ****
<xsl:when test='contains($the_list, " ")'>
<xsl:choose>
! <xsl:when test='starts-with($the_list, $the_item)'>
<xsl:value-of select="true()"/>
</xsl:when>
--- 198,202 ----
<xsl:when test='contains($the_list, " ")'>
<xsl:choose>
! <xsl:when test='substring-before($the_list," ") = $the_item'>
<xsl:value-of select="true()"/>
</xsl:when>
|