dbertoni    02/02/13 09:31:59

  Modified:    c/src/XSLT XSLTEngineImpl.cpp
  Log:
  Make sure attributes with empty values are copied through.  Fixes bug 6394.
  
  Revision  Changes    Path
  1.132     +1 -5      xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp
  
  Index: XSLTEngineImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTEngineImpl.cpp,v
  retrieving revision 1.131
  retrieving revision 1.132
  diff -u -r1.131 -r1.132
  --- XSLTEngineImpl.cpp        22 Jan 2002 23:06:49 -0000      1.131
  +++ XSLTEngineImpl.cpp        13 Feb 2002 17:31:58 -0000      1.132
  @@ -2898,11 +2898,7 @@
                        const XalanDOMString&   attrValue,
                        AttributeListImpl&              attrList)
   {
  -     // TODO: Find out about empty attribute template expression handling.
  -     if(0 != length(attrValue))
  -     {
  -             addResultAttribute(attrList, attrName, attrValue);
  -     }
  +     addResultAttribute(attrList, attrName, attrValue);
   }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to