You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by ga...@apache.org on 2001/05/15 00:57:24 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/templates ElemChoose.java

garyp       01/05/14 15:57:24

  Modified:    java/src/org/apache/xalan/templates ElemChoose.java
  Log:
  Correct bugzilla bug 1748 <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1748>.
  When evaluating xsl:when, the xsl:choose element was used to resolve namespace prefixes instead of
  the xsl:when element itself.  This caused namespace prefixes defined on the xsl:when to be ignored.
  
  Revision  Changes    Path
  1.10      +1 -1      xml-xalan/java/src/org/apache/xalan/templates/ElemChoose.java
  
  Index: ElemChoose.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemChoose.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ElemChoose.java	2001/02/13 20:28:56	1.9
  +++ ElemChoose.java	2001/05/14 22:57:22	1.10
  @@ -141,7 +141,7 @@
   
           // must be xsl:when
           XObject test = when.getTest().execute(transformer.getXPathContext(),
  -                                              sourceNode, this);
  +                                              sourceNode, when);
   
           if (TransformerImpl.S_DEBUG)
             transformer.getTraceManager().fireSelectedEvent(sourceNode, when,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org