You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2002/01/15 21:22:26 UTC
cvs commit: xml-xerces/java/src/org/apache/xml/serialize OutputFormat.java
elena 02/01/15 12:22:26
Modified: java/src/org/apache/xml/serialize OutputFormat.java
Log:
Bug fix: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2389
Revision Changes Path
1.13 +6 -3 xml-xerces/java/src/org/apache/xml/serialize/OutputFormat.java
Index: OutputFormat.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xml/serialize/OutputFormat.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- OutputFormat.java 7 Nov 2001 19:02:56 -0000 1.12
+++ OutputFormat.java 15 Jan 2002 20:22:26 -0000 1.13
@@ -91,7 +91,7 @@
* </ul>
*
*
- * @version $Revision: 1.12 $ $Date: 2001/11/07 19:02:56 $
+ * @version $Revision: 1.13 $ $Date: 2002/01/15 20:22:26 $
* @author <a href="mailto:arkin@intalio.com">Assaf Arkin</a>
* <a href="mailto:visco@intalio.com">Keith Visco</a>
* @see Serializer
@@ -720,8 +720,11 @@
{
int i;
- if ( _nonEscapingElements == null )
- return false;
+ if ( _nonEscapingElements == null ) {
+ // non escaping was not set
+ // by default output value for elements as unescaped
+ return true;
+ }
for ( i = 0 ; i < _nonEscapingElements.length ; ++i )
if ( _nonEscapingElements[ i ].equals( tagName ) )
return true;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org