xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mk...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xml/dtm/ref DTMManagerDefault.java
Date Thu, 11 Sep 2003 13:37:31 GMT
mkwan       2003/09/11 06:37:31

  Modified:    java/src/org/apache/xalan/transformer
                        SerializerSwitcher.java
               java/src/org/apache/xml/dtm/ref DTMManagerDefault.java
  Log:
  Apply the patch from Richard Cao (richcao@ca.ibm.com) for bug 13082.
  
  Revision  Changes    Path
  1.13      +1 -1      xml-xalan/java/src/org/apache/xalan/transformer/SerializerSwitcher.java
  
  Index: SerializerSwitcher.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/transformer/SerializerSwitcher.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- SerializerSwitcher.java	1 Apr 2003 20:26:39 -0000	1.12
  +++ SerializerSwitcher.java	11 Sep 2003 13:37:31 -0000	1.13
  @@ -65,7 +65,7 @@
   
   import org.apache.xml.serializer.Serializer;
   import org.apache.xml.serializer.SerializerFactory;
  -import org.apache.xml.serialize.Method;
  +import org.apache.xml.serializer.Method;
   import org.apache.xalan.templates.OutputProperties;
   
   import org.xml.sax.ContentHandler;
  
  
  
  1.47      +2 -1      xml-xalan/java/src/org/apache/xml/dtm/ref/DTMManagerDefault.java
  
  Index: DTMManagerDefault.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/DTMManagerDefault.java,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- DTMManagerDefault.java	1 Apr 2003 19:14:05 -0000	1.46
  +++ DTMManagerDefault.java	11 Sep 2003 13:37:31 -0000	1.47
  @@ -376,7 +376,8 @@
             {
               // IncrementalSAXSource_Xerces to avoid threading.
               try {
  -              coParser=org.apache.xml.dtm.ref.IncrementalSAXSource_Xerces.createIncrementalSAXSource();
  +              coParser =(IncrementalSAXSource)
  +                Class.forName("org.apache.xml.dtm.ref.IncrementalSAXSource_Xerces").newInstance();
 
               }  catch( Exception ex ) {
                 ex.printStackTrace();
                 coParser=null;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message