You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@locus.apache.org on 2000/11/16 01:25:23 UTC

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

sboag       00/11/15 16:25:23

  Modified:    java/src/org/apache/xalan/templates ElemCopy.java
  Log:
  When the node being copied is a root node (and thus no node
  is created), call super.execute so that the ElemUse stuff gets
  applied to the containing element.  This fixes bugs in attributeset 27
  and 29.
  
  Revision  Changes    Path
  1.6       +1 -0      xml-xalan/java/src/org/apache/xalan/templates/ElemCopy.java
  
  Index: ElemCopy.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemCopy.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ElemCopy.java	2000/11/13 16:27:09	1.5
  +++ ElemCopy.java	2000/11/16 00:25:22	1.6
  @@ -164,6 +164,7 @@
           if (TransformerImpl.S_DEBUG)
             transformer.getTraceManager().fireTraceEvent(sourceNode, mode, this);
   
  +        super.execute(transformer, sourceNode, mode);
           transformer.executeChildTemplates(this, sourceNode, mode);
         }
       }