jkesselm    01/12/10 12:49:47

  Modified:    java/src/org/apache/xalan/xslt Process.java
  Log:
  Removed the "magic" default which causes us to switch into incremental
  processing mode whenever we were writing to Standard Output (ie,
  -OUT had not been specified). If you want incremental processing,
  please use the (relatively new) -INCREMENTAL switch to explicitly
  request it.
  
  (The automatic switchover was causing some confusion
  when testing against Xerces2. )
  
  Revision  Changes    Path
  1.45      +4 -3      xml-xalan/java/src/org/apache/xalan/xslt/Process.java
  
  Index: Process.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xslt/Process.java,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- Process.java      2001/11/27 16:20:19     1.44
  +++ Process.java      2001/12/10 20:49:47     1.45
  @@ -628,9 +628,10 @@
           else
           {
             strResult = new StreamResult(System.out);
  -          tfactory.setAttribute(
  -           org.apache.xalan.processor.TransformerFactoryImpl.FEATURE_INCREMENTAL
  -           , Boolean.TRUE);
  +       // We used to default to incremental mode in this case.
  +       // We've since decided that since the -INCREMENTAL switch is
  +       // available, that default is probably not necessary nor
  +       // necessarily a good idea.
           }
   
           SAXTransformerFactory stf = (SAXTransformerFactory) tfactory;
  
  
  

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

Reply via email to