dbertoni    01/02/27 08:48:46

  Modified:    c/src/XSLT ElemValueOf.cpp
  Log:
  Moved fire of selection event into if().
  
  Revision  Changes    Path
  1.18      +5 -5      xml-xalan/c/src/XSLT/ElemValueOf.cpp
  
  Index: ElemValueOf.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/ElemValueOf.cpp,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ElemValueOf.cpp   2001/02/12 02:34:53     1.17
  +++ ElemValueOf.cpp   2001/02/27 16:48:43     1.18
  @@ -205,13 +205,13 @@
        {
                const XObjectPtr        
value(m_selectPattern->execute(sourceNode, *this, executionContext));
   
  -             if(0 != executionContext.getTraceListeners())
  -             {
  -                     fireSelectionEvent(executionContext, sourceNode, value);
  -             }
  -             
                if(value.null() == false)       
                {
  +                     if(0 != executionContext.getTraceListeners())
  +                     {
  +                             fireSelectionEvent(executionContext, 
sourceNode, value);
  +                     }
  +
                        const XObject::eObjectType      type = value->getType();
   
                        if (XObject::eTypeNull != type)
  
  
  

Reply via email to