tmiller     01/05/23 08:23:31

  Modified:    java/src/org/apache/xalan/xsltc/runtime TextOutput.java
  Log:
  bug fix 1403, output escaping fixed
  
  Revision  Changes    Path
  1.8       +8 -1      
xml-xalan/java/src/org/apache/xalan/xsltc/runtime/TextOutput.java
  
  Index: TextOutput.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/TextOutput.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TextOutput.java   2001/05/22 17:27:28     1.7
  +++ TextOutput.java   2001/05/23 15:23:25     1.8
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: TextOutput.java,v 1.7 2001/05/22 17:27:28 morten Exp $
  + * @(#)$Id: TextOutput.java,v 1.8 2001/05/23 15:23:25 tmiller Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -278,7 +278,14 @@
                oldSetting = true;
            }
            _escapeChars = escape;
  +
  +         // bug # 1403, see also compiler/Text.java::translate method.
  +         if (_outputType == TEXT) { 
  +             _escapeChars = false; 
  +         }
  +
            return(oldSetting);
  +             
        }
        catch (SAXException e) {
            throw(new TransletException(e));
  
  
  

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

Reply via email to