xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From santiag...@apache.org
Subject cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output StreamHTMLOutput.java StreamOutput.java
Date Thu, 07 Nov 2002 20:07:53 GMT
santiagopg    2002/11/07 12:07:52

  Modified:    java/src/org/apache/xalan/xsltc/runtime/output
                        StreamHTMLOutput.java StreamOutput.java
  Log:
  Fix for Bugzilla 14229.
  
  Revision  Changes    Path
  1.19      +3 -4      xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/StreamHTMLOutput.java
  
  Index: StreamHTMLOutput.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/StreamHTMLOutput.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- StreamHTMLOutput.java	10 Sep 2002 15:25:05 -0000	1.18
  +++ StreamHTMLOutput.java	7 Nov 2002 20:07:52 -0000	1.19
  @@ -186,7 +186,7 @@
   
   	    if (_indent) {
   		_indentLevel--;
  -		_indentNextEndTag = true;
  +		_lineFeedNextStartTag = _indentNextEndTag = false;
   	    }
   	}
   	else {
  @@ -195,8 +195,7 @@
   
   		if (_indentNextEndTag) {
   		    indent(_indentNextEndTag);
  -		    _indentNextEndTag = true;
  -		    _lineFeedNextStartTag = true;
  +		    _lineFeedNextStartTag = _indentNextEndTag = true;
   		}
   	    }
   	    _buffer.append("</").append(elementName).append('>');
  
  
  
  1.22      +5 -5      xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/StreamOutput.java
  
  Index: StreamOutput.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/runtime/output/StreamOutput.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- StreamOutput.java	21 Oct 2002 15:42:17 -0000	1.21
  +++ StreamOutput.java	7 Nov 2002 20:07:52 -0000	1.22
  @@ -251,11 +251,11 @@
       protected void indent(boolean linefeed) {
           if (linefeed) {
               _buffer.append('\n');
  -	}
   
  -	_buffer.append(INDENT, 0, 
  -	    _indentLevel < MAX_INDENT_LEVEL ? _indentLevel * _indentNumber 
  -		: MAX_INDENT);
  +	    _buffer.append(INDENT, 0, 
  +		_indentLevel < MAX_INDENT_LEVEL ? 
  +		    _indentLevel * _indentNumber : MAX_INDENT);
  +	}
       }
   
       /**
  
  
  

---------------------------------------------------------------------
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