dbertoni    00/05/11 14:39:50

  Modified:    c/src/XSLT XSLTEngineImpl.cpp
  Log:
  Added code to allow document nodes in cloneToResultTree().
  
  Revision  Changes    Path
  1.35      +8 -8      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.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- XSLTEngineImpl.cpp        2000/05/11 19:31:52     1.34
  +++ XSLTEngineImpl.cpp        2000/05/11 21:39:49     1.35
  @@ -2016,15 +2016,15 @@
                }
                break;
   
  +     // Can't really do this, but we won't throw an error so that copy-of 
will
  +     // work
  +     case XalanNode::DOCUMENT_NODE:
  +     break;
  +
        default:
  -             {
  -                     // $$$ ToDo: Fix this when XalanDOMString::operator+() 
is const.
  -                     XalanDOMString  msg("Can not create item in result 
tree: ");
  -                     msg +=node.getNodeName();
  -                     error(msg);
  -//                   error(XalanDOMString("Can not create item in result 
tree: ") +
  -//                             node.getNodeName());
  -             }
  +             error("Can not create item in result tree: " + 
node.getNodeName());
  +     break;
  +
        }
   }
   
  
  
  

Reply via email to