sboag       00/10/17 12:11:58

  Modified:    java/src/org/apache/xalan/transformer
                        ClonerToResultTree.java
  Log:
  Rip out strip whitespace stuff, decrease number of parameters, since they 
weren't all used.
  
  Revision  Changes    Path
  1.3       +1 -10     
xml-xalan/java/src/org/apache/xalan/transformer/ClonerToResultTree.java
  
  Index: ClonerToResultTree.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/transformer/ClonerToResultTree.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ClonerToResultTree.java   2000/10/13 23:34:16     1.2
  +++ ClonerToResultTree.java   2000/10/17 19:11:56     1.3
  @@ -30,9 +30,7 @@
      * TODO: Fix or figure out node clone failure!
      * the error condition is severe enough to halt processing.
      */
  -  public void cloneToResultTree(Stylesheet stylesheetTree, Node node,
  -                                boolean shouldCloneWithChildren,
  -                                boolean overrideStrip,
  +  public void cloneToResultTree(Node node,
                                   boolean shouldCloneAttributes)
       throws SAXException
     {
  @@ -44,13 +42,6 @@
       {
       case Node.TEXT_NODE:
         {
  -        // If stripWhiteSpace is false, then take this as an override and
  -        // just preserve the space, otherwise use the XSL whitespace rules.
  -        if(!overrideStrip)
  -        {
  -          // stripWhiteSpace = isLiteral ? true : 
shouldStripSourceNode(node);
  -          stripWhiteSpace = false;
  -        }
           Text tx = (Text)node;
           String data = null;
           // System.out.println("stripWhiteSpace = "+stripWhiteSpace+", 
"+tx.getData());
  
  
  

Reply via email to