From: Torsten Werner <twerner@debian.org>
Date: Fri, 9 Sep 2011 21:14:55 +0200
Subject: modello

---
 doxia-core/src/main/mdo/document.mdo               |   15 ++++++++++-----
 .../maven/doxia/module/fo/FoAggregateSink.java     |    2 +-
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/doxia-core/src/main/mdo/document.mdo b/doxia-core/src/main/mdo/document.mdo
index a338c49..1807f42 100644
--- a/doxia-core/src/main/mdo/document.mdo
+++ b/doxia-core/src/main/mdo/document.mdo
@@ -500,7 +500,7 @@
             return ISO_8601_FORMAT.format( getCreationDate() );
         }
 
-        return this.creationdate;
+        return this.creationDate.toString();
     }
 
     /**
@@ -518,7 +518,7 @@
             return ISO_8601_FORMAT.format( getDate() );
         }
 
-        return this.modifydate;
+        return this.date.toString();
     }
 
     /**
@@ -536,7 +536,7 @@
             return ISO_8601_FORMAT.format( getPrintDate() );
         }
 
-        return this.printdate;
+        return this.printDate.toString();
     }
             ]]>
           </code>
@@ -701,10 +701,12 @@
      */
     public String getFullName()
     {
+        /*
         if ( getName() != null && getName().trim().length() > 0 )
         {
             return getName().trim();
         }
+        */
 
         return ( getFirstName() != null ? getFirstName().trim() : "null" ) + " "
             + ( getLastName() != null ? getLastName().trim() : "null" );
@@ -783,7 +785,7 @@
             return ISO_8601_FORMAT.format( getDate() );
         }
 
-        return this.modifydate;
+        return this.date.toString();
     }
             ]]>
           </code>
@@ -1124,10 +1126,13 @@
     public String getAllAuthorNames()
     {
         StringBuffer sb = new StringBuffer();
+
+        /*
         if ( getAuthor() != null && getAuthor().trim().length() > 0 )
         {
             return getAuthor().trim();
         }
+        */
 
         if ( getAuthors() != null )
         {
@@ -1165,7 +1170,7 @@
             return ISO_8601_FORMAT.format( getCoverDate() );
         }
 
-        return this.coverdate;
+        return this.coverDate.toString();
     }
             ]]>
           </code>
diff --git a/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java b/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java
index 72d6789..7aa1d63 100644
--- a/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java
+++ b/doxia-modules/doxia-module-fo/src/main/java/org/apache/maven/doxia/module/fo/FoAggregateSink.java
@@ -1219,7 +1219,7 @@ public class FoAggregateSink
         att.addAttribute( "height", "0.3in" );
         att.addAttribute( "text-align", "left" );
         writeStartTag( BLOCK_TAG, att );
-        write( compName == null ? ( cover.getAuthor() == null ? "" : cover.getAuthor() ) : compName );
+        write( compName == null ? ( cover.getAllAuthorNames() == null ? "" : cover.getAllAuthorNames() ) : compName );
         writeEndTag( BLOCK_TAG );
         writeEndTag( TABLE_CELL_TAG );
 
-- 
