mkwan       2003/04/01 11:52:56

  Modified:    java/src/org/apache/xalan/processor ProcessorOutputElem.java
                        TransformerFactoryImpl.java
  Log:
  Merging XSLTC_DTM and common serializer to the head
  
  Changes in org.apache.xalan.processor.
  
  Revision  Changes    Path
  1.17      +4 -3      
xml-xalan/java/src/org/apache/xalan/processor/ProcessorOutputElem.java
  
  Index: ProcessorOutputElem.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/processor/ProcessorOutputElem.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ProcessorOutputElem.java  30 Jan 2003 18:45:44 -0000      1.16
  +++ ProcessorOutputElem.java  1 Apr 2003 19:52:55 -0000       1.17
  @@ -61,6 +61,7 @@
   
   import org.apache.xalan.templates.ElemTemplateElement;
   import org.apache.xalan.templates.OutputProperties;
  +import org.apache.xml.serializer.OutputPropertiesFactory;
   import org.apache.xml.utils.QName;
   import org.apache.xml.utils.SystemIDResolver;
   import org.xml.sax.Attributes;
  @@ -231,7 +232,7 @@
       // Access this only from the Hashtable level... we don't want to 
       // get default properties.
       String entitiesFileName =
  -      (String) 
m_outputProperties.getProperties().get(OutputProperties.S_KEY_ENTITIES);
  +      (String) 
m_outputProperties.getProperties().get(OutputPropertiesFactory.S_KEY_ENTITIES);
   
       if (null != entitiesFileName)
       {
  @@ -239,7 +240,7 @@
         {
           String absURL = SystemIDResolver.getAbsoluteURI(entitiesFileName,
                       handler.getBaseIdentifier());
  -        
m_outputProperties.getProperties().put(OutputProperties.S_KEY_ENTITIES, absURL);
  +        
m_outputProperties.getProperties().put(OutputPropertiesFactory.S_KEY_ENTITIES, 
absURL);
         }
         catch(TransformerException te)
         {
  @@ -254,4 +255,4 @@
       
       m_outputProperties = null;
     }
  -}
  \ No newline at end of file
  +}
  
  
  
  1.50      +1 -1      
xml-xalan/java/src/org/apache/xalan/processor/TransformerFactoryImpl.java
  
  Index: TransformerFactoryImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/processor/TransformerFactoryImpl.java,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- TransformerFactoryImpl.java       3 Feb 2003 20:48:14 -0000       1.49
  +++ TransformerFactoryImpl.java       1 Apr 2003 19:52:56 -0000       1.50
  @@ -561,7 +561,7 @@
         {
           // Accept a Boolean object..
           m_source_location = ((Boolean)value).booleanValue();
  -        // Pass the source localtion property to SAX2DTM, where it actually 
gets used.
  +        // Pass the source location property to SAX2DTM, where it actually 
gets used.
           SAX2DTM.setUseSourceLocation(m_source_location);
         }
         else if(value instanceof String)
  
  
  

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

Reply via email to