santiagopg    2002/09/17 15:08:06

  Modified:    java/src/org/apache/xalan/xsltc/trax
                        TransformerFactoryImpl.java
  Log:
  Replaced attribute "disable-inlining" by attribute "enable-inlining".
  
  Revision  Changes    Path
  1.46      +7 -7      
xml-xalan/java/src/org/apache/xalan/xsltc/trax/TransformerFactoryImpl.java
  
  Index: TransformerFactoryImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/trax/TransformerFactoryImpl.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- TransformerFactoryImpl.java       12 Aug 2002 19:33:55 -0000      1.45
  +++ TransformerFactoryImpl.java       17 Sep 2002 22:08:06 -0000      1.46
  @@ -147,9 +147,9 @@
       private boolean _debug = false;
   
       /**
  -     * Set to <code>true</code> when templates are not inlined.
  +     * Set to <code>true</code> when templates are inlined.
        */
  -    private boolean _disableInlining = false;
  +    private boolean _enableInlining = false;
   
       /**
        * Number of indent spaces when indentation is turned on.
  @@ -246,13 +246,13 @@
                return;
            }
        }
  -     else if (name.equals("disable-inlining")) {
  +     else if (name.equals("enable-inlining")) {
            if (value instanceof Boolean) {
  -             _disableInlining = ((Boolean) value).booleanValue();
  +             _enableInlining = ((Boolean) value).booleanValue();
                return;
            }
            else if (value instanceof String) {
  -             _disableInlining = ((String) value).equalsIgnoreCase("true");
  +             _enableInlining = ((String) value).equalsIgnoreCase("true");
                return;
            }
        }
  @@ -455,7 +455,7 @@
        // Create and initialize a stylesheet compiler
        final XSLTC xsltc = new XSLTC();
        if (_debug) xsltc.setDebug(true);
  -     if (_disableInlining) xsltc.setTemplateInlining(false);
  +     if (_enableInlining) xsltc.setTemplateInlining(true);
        xsltc.init();
   
        // Set a document loader (for xsl:include/import) if defined
  
  
  

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

Reply via email to