You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/08/27 06:09:12 UTC

cvs commit: xml-xalan/c/src/XSLT ElemUse.cpp

dbertoni    00/08/26 21:09:12

  Modified:    c/src/XSLT ElemUse.cpp
  Log:
  Fixed a bug where the stylesheet, instead of the stylesheet root was used to apply use-attribute-sets. (attribset37, attribset38)
  
  Revision  Changes    Path
  1.5       +2 -2      xml-xalan/c/src/XSLT/ElemUse.cpp
  
  Index: ElemUse.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemUse.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ElemUse.cpp	2000/05/01 15:13:10	1.4
  +++ ElemUse.cpp	2000/08/27 04:09:11	1.5
  @@ -70,7 +70,7 @@
   
   
   
  -#include "Stylesheet.hpp"
  +#include "StylesheetRoot.hpp"
   #include "StylesheetConstructionContext.hpp"
   
   
  @@ -115,7 +115,7 @@
   	ElemTemplateElement::execute(executionContext, sourceTree, sourceNode, mode);
   
   	if(0 != m_attributeSetsNames.size())
  -		getStylesheet().applyAttrSets(m_attributeSetsNames, 
  +		getStylesheet().getStylesheetRoot().applyAttrSets(m_attributeSetsNames, 
   				executionContext, sourceTree, sourceNode, mode);
   }