DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18385>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18385

Problem with func:function in Xalan

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Minor                       |Normal



------- Additional Comments From [EMAIL PROTECTED]  2003-03-27 17:04 -------
I had a suspicion, and changing the function like this eliminated all usage
problems. So I guess it's somehow dropping the param, but not other variables.

<func:function name="foxy:entry-security">
<xsl:param name="lvl" select="'private'"/>
<xsl:variable name="level" select="$lvl"/>
<xsl:variable name="allowed">
<xsl:if test="$level='friends' and $journal_friends[
  @name=$view_user and @pass=$view_pass]">3</xsl:if>
<xsl:if test="[EMAIL PROTECTED] and
  @pass=$view_pass]/@level[1]=$level">4</xsl:if>0</xsl:variable>
<func:result select="$allowed"/>
</func:function>

Reply via email to