maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r739256 - in /maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src: main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java test/java/org/apache/maven/doxia/module/xdoc/XdocSinkTest.java
Date Fri, 30 Jan 2009 12:19:45 GMT
Author: vsiveton
Date: Fri Jan 30 12:19:44 2009
New Revision: 739256

URL: http://svn.apache.org/viewvc?rev=739256&view=rev
Log:
o using double quote

Modified:
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocSinkTest.java

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java?rev=739256&r1=739255&r2=739256&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/main/java/org/apache/maven/doxia/module/xdoc/XdocSink.java
Fri Jan 30 12:19:44 2009
@@ -106,10 +106,10 @@
 
         setHeadFlag( true );
 
-        write( "<?xml version='1.0'" );
+        write( "<?xml version=\"1.0\"" );
         if ( encoding != null )
         {
-            write( " encoding='" + encoding + "'" );
+            write( " encoding=\"" + encoding + "\"" );
         }
         write( "?>" );
 

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocSinkTest.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocSinkTest.java?rev=739256&r1=739255&r2=739256&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocSinkTest.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-xdoc/src/test/java/org/apache/maven/doxia/module/xdoc/XdocSinkTest.java
Fri Jan 30 12:19:44 2009
@@ -72,7 +72,7 @@
     /** {@inheritDoc} */
     protected String getHeadBlock()
     {
-        return "<?xml version='1.0' encoding='UTF-8'?><document><properties></properties>";
+        return "<?xml version=\"1.0\" encoding=\"UTF-8\"?><document><properties></properties>";
     }
 
     /** {@inheritDoc} */



Mime
View raw message