tmiller     01/09/06 06:39:45

  Modified:    java/src/org/apache/xalan/xsltc/runtime TextOutput.java
  Log:
  bug fix 2807, seth ford's fix
  
  Revision  Changes    Path
  1.24      +8 -3      
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.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- TextOutput.java   2001/08/27 12:38:32     1.23
  +++ TextOutput.java   2001/09/06 13:39:45     1.24
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: TextOutput.java,v 1.23 2001/08/27 12:38:32 morten Exp $
  + * @(#)$Id: TextOutput.java,v 1.24 2001/09/06 13:39:45 tmiller Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -59,6 +59,7 @@
    * @author Jacek Ambroziak
    * @author Santiago Pericas-Geertsen
    * @author Morten Jorgensen
  + * @author Seth Ford <[EMAIL PROTECTED]> 
    *
    */
   
  @@ -513,8 +514,12 @@
   
            _qnameStack.push(elementName);
   
  -         if ((_cdata != null) && (_cdata.get(elementName) != null))
  -             _cdataStack.push(new Integer(_depth));
  +         // bug fix 2807, <[EMAIL PROTECTED]>
  +         if (_cdata != null) {
  +             if (_cdata.get(elementName) != null) {
  +                 _cdataStack.push(new Integer(_depth));
  +             }
  +         }
   
            // Insert <META> tag directly after <HEAD> element in HTML doc
            if (_outputType == HTML)
  
  
  

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

Reply via email to