maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ltheu...@apache.org
Subject svn commit: r628442 - in /maven/doxia/doxia/trunk: doxia-core/src/main/java/org/apache/maven/doxia/parser/ doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/ doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/dox...
Date Sun, 17 Feb 2008 08:10:44 GMT
Author: ltheussl
Date: Sun Feb 17 00:10:41 2008
New Revision: 628442

URL: http://svn.apache.org/viewvc?rev=628442&view=rev
Log:
More log and error handling

Modified:
    maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/NumberedListItem.java
    maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java

Modified: maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java?rev=628442&r1=628441&r2=628442&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
(original)
+++ maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/parser/AbstractXmlParser.java
Sun Feb 17 00:10:41 2008
@@ -51,6 +51,8 @@
 
             parser.setInput( source );
 
+            sink.enableLogging( getLog() );
+
             parseXml( parser, sink );
         }
         catch ( XmlPullParserException ex )

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java?rev=628442&r1=628441&r2=628442&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoUtils.java
Sun Feb 17 00:10:41 2008
@@ -114,7 +114,7 @@
             }
             catch ( IOException e )
             {
-                // TODO: log
+                e.printStackTrace();
             }
         }
     }

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/NumberedListItem.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/NumberedListItem.java?rev=628442&r1=628441&r2=628442&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/NumberedListItem.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/NumberedListItem.java
Sun Feb 17 00:10:41 2008
@@ -128,6 +128,7 @@
     public String getListItemSymbol()
     {
         int j = count() - 1;
+
         if ( j < 0 )
         {
             j = 0;
@@ -138,6 +139,7 @@
         }
 
         String symbol;
+
         switch ( format() )
         {
             case Sink.NUMBERING_UPPER_ALPHA:

Modified: maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java?rev=628442&r1=628441&r2=628442&view=diff
==============================================================================
--- maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
(original)
+++ maven/doxia/doxia/trunk/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
Sun Feb 17 00:10:41 2008
@@ -1162,8 +1162,7 @@
 
         if ( urlName == null )
         {
-            //TODO
-            System.err.println( "The image " + name + " not found in the class loader. Try
to call setClassLoader(ClassLoader) before." );
+            getLog().warn( "No image " + name + " found in the class loader. Try to call
setClassLoader(ClassLoader) before." );
             return;
         }
 



Mime
View raw message