[hibernate-commits] Hibernate SVN: r11461 - in trunk/sandbox/maven-poc/plugins/docbook/src/test: resources/org/jboss/maven/docbook/gen and 9 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu May 3 03:25:50 EDT 2007


Author: steve.ebersole at jboss.com
Date: 2007-05-03 03:25:50 -0400 (Thu, 03 May 2007)
New Revision: 11461

Added:
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/css/
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/css/html.css
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/AuthorWork.gif
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/AuthorWork.zargo
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/CustomerOrderProduct.gif
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/CustomerOrderProduct.zargo
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/EmployerEmployee.gif
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/EmployerEmployee.zargo
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/full_cream.gif
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/full_cream.svg
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/hibernate_logo_a.png
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/lite.gif
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/lite.svg
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/overview.gif
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/overview.svg
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/fopdf.xsl
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/html.xsl
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/html_chunk.xsl
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/translations/
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/translations/en/
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/translations/en/master.xml
Removed:
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/master.xml
   trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/styles/
Modified:
   trunk/sandbox/maven-poc/plugins/docbook/src/test/java/org/jboss/maven/docbook/gen/RendererTest.java
   trunk/sandbox/maven-poc/plugins/docbook/src/test/java/org/jboss/maven/docbook/gen/XsltCompilationTest.java
Log:
refactoring

Modified: trunk/sandbox/maven-poc/plugins/docbook/src/test/java/org/jboss/maven/docbook/gen/RendererTest.java
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/java/org/jboss/maven/docbook/gen/RendererTest.java	2007-05-03 07:24:48 UTC (rev 11460)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/java/org/jboss/maven/docbook/gen/RendererTest.java	2007-05-03 07:25:50 UTC (rev 11461)
@@ -3,11 +3,14 @@
 import java.net.URL;
 import java.io.File;
 import java.util.Properties;
+import java.util.Map;
+import java.util.HashMap;
 
 import junit.framework.TestCase;
-import org.jboss.maven.docbook.Entity;
-import org.jboss.maven.docbook.Format;
-import org.jboss.maven.docbook.Translation;
+import org.jboss.maven.docbook.gen.rendering.StandardFormatterFactory;
+import org.jboss.maven.docbook.gen.rendering.MainRenderer;
+import org.jboss.maven.docbook.gen.xslt.TransformerType;
+import org.jboss.maven.docbook.gen.xslt.TransformerFactory;
 import org.apache.maven.plugin.logging.SystemStreamLog;
 
 /**
@@ -16,10 +19,13 @@
  * @author Steve Ebersole
  */
 public class RendererTest extends TestCase {
-	private Renderer renderer;
+	private MainRenderer mainRenderer;
 
 	public void testStandardRendering() throws Throwable {
-		renderer.render(
+		Map finalNameMap = new HashMap();
+		finalNameMap.put( "master.xml", "hibernate_manual.pdf" );
+
+		mainRenderer.render(
 				new Translation[] {
 						new Translation(
 								"en",
@@ -32,16 +38,18 @@
 								"pdf",
 								null,
 								false,
-								false,
-								"pdf",
-								"hibernate_manual.pdf"
+								null,
+								finalNameMap
 						)
 				}
 		);
 	}
 
 	public void testCustomRendering() throws Throwable{
-		renderer.render(
+		Map finalNameMap = new HashMap();
+		finalNameMap.put( "master.xml", "hibernate_manual.pdf" );
+
+		mainRenderer.render(
 				new Translation[] {
 						new Translation(
 								"en",
@@ -52,53 +60,55 @@
 				new Format[] {
 						new Format(
 								"pdf",
-								"styles/fopdf.xsl",
-								true,
+								"fopdf.xsl",
 								false,
 								"pdf",
-								"hibernate_manual.pdf"
+								finalNameMap
 						)
 				}
 		);
 	}
 
 	protected void setUp() throws Exception {
-		URL docURL = getClass().getResource( "/org/jboss/maven/docbook/gen/en/master.xml" );
+		URL docURL = getClass().getResource( "/org/jboss/maven/docbook/gen/translations/en/master.xml" );
 		File sourceFile = new File( docURL.toExternalForm().substring( 5 ) );
-		File sourceDirectory = sourceFile.getParentFile().getParentFile();
-		File targetDirectory = sourceFile.getParentFile()
+		File translationsDirectory = sourceFile.getParentFile().getParentFile();
+		File baseDirectory = translationsDirectory.getParentFile();
+		File standardResources = new File( baseDirectory, "standard/resources" );
+		File standardStyles = new File( baseDirectory, "standard/style" );
+
+		File targetDirectory = baseDirectory.getParentFile()
 				.getParentFile()
 				.getParentFile()
 				.getParentFile()
 				.getParentFile()
 				.getParentFile()
-				.getParentFile()
-				.getParentFile()
 				.getParentFile();
 		targetDirectory = new File( targetDirectory, "target" );
 		targetDirectory = new File( targetDirectory, "test" );
 		targetDirectory = new File( targetDirectory, "docbook" );
 
+		System.out.println( "writing output to : " + targetDirectory.getAbsolutePath() );
+
 		Properties props = new Properties();
-		props.setProperty( "book.titlepage.img", new File( sourceDirectory, "en/images/hibernate_logo_a.png" ).getAbsolutePath() );
+		props.setProperty( "book.titlepage.img", new File( translationsDirectory, "../standard/resources/shared/images/hibernate_logo_a.png" ).getAbsolutePath() );
 
-		Configuration configuration = new Configuration(
-				sourceDirectory,
-				"master.xml",
-				null,
+		Settings settings = new Settings(
+				translationsDirectory,
+				new String[] { "master.xml" },
+				standardResources,
+				standardStyles,
 				targetDirectory,
-				null,
 				true,
 				new Entity[] {
-						new Entity( "release", "test" )
+						new Entity( "version", "test" )
 				},
 				new StandardFormatterFactory(),
-				TransformerType.SAXON,
-				props,
+				new TransformerFactory( TransformerType.SAXON, props ),
 				new SystemStreamLog()
 		);
 
-		renderer = new Renderer( configuration );
+		mainRenderer = new MainRenderer( settings );
 	}
 
 	protected void tearDown() throws Exception {

Modified: trunk/sandbox/maven-poc/plugins/docbook/src/test/java/org/jboss/maven/docbook/gen/XsltCompilationTest.java
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/java/org/jboss/maven/docbook/gen/XsltCompilationTest.java	2007-05-03 07:24:48 UTC (rev 11460)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/java/org/jboss/maven/docbook/gen/XsltCompilationTest.java	2007-05-03 07:25:50 UTC (rev 11461)
@@ -4,6 +4,10 @@
 import java.net.URL;
 
 import junit.framework.TestCase;
+import org.jboss.maven.docbook.gen.xslt.TransformerType;
+import org.jboss.maven.docbook.gen.xslt.TransformerFactory;
+import org.jboss.maven.docbook.gen.rendering.RenderingException;
+import org.jboss.maven.docbook.gen.rendering.StandardDocBookFormatType;
 
 /**
  * {@inheritDoc}
@@ -21,16 +25,16 @@
 		URL stylesheet;
 
 		// check pdf compilation
-		stylesheet = toUrl( PdfFormatter.STYLESHEET );
-		factory.buildTransformer( stylesheet, stylesheet, null );
+		stylesheet = toUrl( StandardDocBookFormatType.PDF.getNormalStylesheet() );
+		factory.buildTransformer( stylesheet, stylesheet );
 
 		// check chunked html compilation
-		stylesheet = toUrl( HtmlFormatter.CHUNK_STYLESHEET );
-		factory.buildTransformer( stylesheet, stylesheet, null );
+		stylesheet = toUrl( StandardDocBookFormatType.HTML.getChunkedStylesheet() );
+		factory.buildTransformer( stylesheet, stylesheet );
 
 		// check normal html compilation
-		stylesheet = toUrl( HtmlFormatter.DEF_STYLESHEET );
-		factory.buildTransformer( stylesheet, stylesheet, null );
+		stylesheet = toUrl( StandardDocBookFormatType.HTML.getNormalStylesheet() );
+		factory.buildTransformer( stylesheet, stylesheet );
 	}
 
 	private URL toUrl(String resource) {

Deleted: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/master.xml
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/master.xml	2007-05-03 07:24:48 UTC (rev 11460)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/master.xml	2007-05-03 07:25:50 UTC (rev 11461)
@@ -1,124 +0,0 @@
-<?xml version='1.0' encoding="iso-8859-1"?>
-
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-<!ENTITY release "(undefined)">
-]>
-
-<book lang="en">
-
-    <bookinfo>
-        <title>HIBERNATE - Relational Persistence for Idiomatic Java</title>
-        <subtitle>Hibernate Reference Documentation</subtitle>
-        <releaseinfo>&release;</releaseinfo>
-    </bookinfo>
-
-    <toc/>
-
-    <preface id="preface" revision="2">
-        <title>Preface</title>
-
-        <para>
-            Working with object-oriented software and a relational database can be cumbersome
-            and time consuming in today's enterprise environments. Hibernate is an object/relational
-            mapping tool for Java environments. The term object/relational mapping (ORM) refers to
-            the technique of mapping a data representation from an object model to a relational
-            data model with a SQL-based schema.
-        </para>
-
-        <para>
-            Hibernate not only takes care of the mapping from Java classes to
-            database tables (and from Java data types to SQL data types), but also provides data
-            query and retrieval facilities and can significantly reduce development time otherwise
-            spent with manual data handling in SQL and JDBC.
-        </para>
-
-        <para>
-            Hibernates goal is to relieve the developer from 95 percent of common data persistence
-            related programming tasks. Hibernate may not be the best solution for data-centric
-            applications that only use stored-procedures to implement the business logic in the
-            database, it is most useful with object-oriented domain models and business logic in
-            the Java-based middle-tier. However, Hibernate can certainly help you to remove or
-            encapsulate vendor-specific SQL code and will help with the common task of result set
-            translation from a tabular representation to a graph of objects.
-        </para>
-
-        <para>
-            If you are new to Hibernate and Object/Relational Mapping or even Java,
-            please follow these steps:
-        </para>
-
-        <orderedlist>
-            <listitem>
-                <para>
-                    Read <xref linkend="tutorial"/> for a tutorial with step-by-step
-                    instructions. The source code for the tutorial is included in the
-                    distribution in the <literal>doc/reference/tutorial/</literal>
-                    directory.
-                </para>
-            </listitem>
-            <listitem>
-                <para>
-                    Read <xref linkend="architecture"/> to understand the environments where
-                    Hibernate can be used.
-                </para>
-            </listitem>
-            <listitem>
-                <para>
-                    Have a look at the <literal>eg/</literal> directory in the Hibernate
-                    distribution, it contains a simple standalone application. Copy your
-                    JDBC driver to the <literal>lib/</literal> directory and edit
-                    <literal>etc/hibernate.properties</literal>, specifying correct values for
-                    your database. From a command prompt in the distribution directory,
-                    type <literal>ant eg</literal> (using Ant), or under Windows, type
-                    <literal>build eg</literal>.
-                </para>
-            </listitem>
-            <listitem>
-                <para>
-                    Use this reference documentation as your primary source of information.
-                    Consider reading <emphasis>Hibernate in Action</emphasis>
-                    (http://www.manning.com/bauer) if you need more help with application
-                    design or if you prefer a step-by-step tutorial. Also visit
-                    http://caveatemptor.hibernate.org and download the example application
-                    for Hibernate in Action.
-                </para>
-            </listitem>
-            <listitem>
-				<para>
-					FAQs are answered on the Hibernate website.
-				</para>
-            </listitem>
-			<listitem>
-				<para>
-					Third party demos, examples, and tutorials are linked on the Hibernate
-					website.
-				</para>
-			</listitem>
-            <listitem>
-                <para>
-                    The Community Area on the Hibernate website is a good resource for
-                    design patterns and various integration solutions (Tomcat, JBoss AS,
-                    Struts, EJB, etc.).
-                </para>
-            </listitem>
-         </orderedlist>
-
-         <para>
-             If you have questions, use the user forum linked on the Hibernate website. We also
-             provide a JIRA issue trackings system for bug reports and feature requests. If you
-             are interested in the development of Hibernate, join the developer mailing list. If
-             you are interested in translating this documentation into your language, contact us
-             on the developer mailing list.
-         </para>
-
-         <para>
-             Commercial development support, production support, and training for Hibernate is
-             available through JBoss Inc. (see http://www.hibernate.org/SupportTraining/).
-             Hibernate is a Professional Open Source project and a critical component of the
-             JBoss Enterprise Middleware System (JEMS) suite of products.
-         </para>
-
-    </preface>
-
-</book>
-

Added: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/css/html.css
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/css/html.css	                        (rev 0)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/css/html.css	2007-05-03 07:25:50 UTC (rev 11461)
@@ -0,0 +1,97 @@
+A {
+    color: #003399;
+}
+
+A:active {
+    color: #003399;
+}
+
+A:visited {
+    color: #888888;
+}
+
+P, OL, UL, LI, DL, DT, DD, BLOCKQUOTE {
+    color: #000000;
+}
+
+TD, TH, SPAN {
+    color: #000000;
+}
+
+BLOCKQUOTE {
+    margin-right: 0px;
+}
+
+
+H1, H2, H3, H4, H5, H6    {
+    color: #000000;
+    font-weight:500;
+    margin-top:10px;
+    padding-top:15px;
+}
+
+TABLE  {
+    border-collapse: collapse;
+    border-spacing:0;
+    border: 1px thin black;
+    empty-cells: hide;
+}
+
+TD  {
+    padding: 4pt;
+}
+
+H1 { font-size: 150%; }
+H2 { font-size: 140%; }
+H3 { font-size: 110%; font-weight: bold; }
+H4 { font-size: 110%; font-weight: bold;}
+H5 { font-size: 100%; font-style: italic; }
+H6 { font-size: 100%; font-style: italic; }
+
+TT {
+font-size: 90%;
+    font-family: "Courier New", Courier, monospace;
+    color: #000000;
+}
+
+PRE {
+font-size: 100%;
+    padding: 5px;
+    border-style: solid;
+    border-width: 1px;
+    border-color: #CCCCCC;
+    background-color: #F4F4F4;
+}
+
+UL, OL, LI {
+    list-style: disc;
+}
+
+HR  {
+    width: 100%;
+    height: 1px;
+    background-color: #CCCCCC;
+    border-width: 0px;
+    padding: 0px;
+    color: #CCCCCC;
+}
+
+.variablelist { 
+    padding-top: 10; 
+    padding-bottom:10; 
+    margin:0;
+}
+
+.itemizedlist, UL { 
+    padding-top: 0; 
+    padding-bottom:0; 
+    margin:0; 
+}
+
+.term { 
+    font-weight:bold;
+}
+
+
+
+    

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/AuthorWork.gif (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/AuthorWork.gif)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/AuthorWork.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/AuthorWork.zargo (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/AuthorWork.zargo)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/AuthorWork.zargo
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/CustomerOrderProduct.gif (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/CustomerOrderProduct.gif)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/CustomerOrderProduct.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/CustomerOrderProduct.zargo (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/CustomerOrderProduct.zargo)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/CustomerOrderProduct.zargo
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/EmployerEmployee.gif (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/EmployerEmployee.gif)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/EmployerEmployee.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/EmployerEmployee.zargo (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/EmployerEmployee.zargo)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/EmployerEmployee.zargo
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/full_cream.gif (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/full_cream.gif)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/full_cream.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/full_cream.svg (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/full_cream.svg)
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/full_cream.svg	                        (rev 0)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/full_cream.svg	2007-05-03 07:25:50 UTC (rev 11461)
@@ -0,0 +1,429 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg
+  xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
+]>
+<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
+<svg
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   width="354.331"
+   height="336.614"
+   id="svg1">
+  <defs
+     id="defs3">
+    <linearGradient
+       x1="0"
+       y1="0"
+       x2="1"
+       y2="0"
+       id="linearGradient127"
+       gradientUnits="objectBoundingBox"
+       spreadMethod="pad">
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="0"
+         id="stop128" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="1"
+         id="stop129" />
+    </linearGradient>
+    <linearGradient
+       x1="0"
+       y1="0"
+       x2="1"
+       y2="0"
+       id="linearGradient130"
+       xlink:href="#linearGradient127"
+       gradientUnits="objectBoundingBox"
+       spreadMethod="pad" />
+    <radialGradient
+       cx="0.5"
+       cy="0.5"
+       fx="0.5"
+       fy="0.5"
+       r="0.5"
+       id="radialGradient131"
+       xlink:href="#linearGradient127"
+       gradientUnits="objectBoundingBox"
+       spreadMethod="pad" />
+  </defs>
+  <g
+     transform="matrix(0.823795,0,0,0.823795,0.120302,5.25349)"
+     style="font-size:12;"
+     id="g659">
+    <rect
+       width="212.257"
+       height="57.2441"
+       x="17.9576"
+       y="100.132"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect137" />
+    <rect
+       width="285.502"
+       height="118.523"
+       x="13.4238"
+       y="95.9309"
+       transform="matrix(0.743454,0,0,0.482981,6.46949,52.2178)"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect132" />
+  </g>
+  <rect
+     width="325.86"
+     height="63.6537"
+     x="17.4083"
+     y="15.194"
+     style="font-size:12;fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect136" />
+  <rect
+     width="325.86"
+     height="63.6537"
+     x="13.6713"
+     y="12.4966"
+     style="font-size:12;fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect126" />
+  <g
+     transform="matrix(1.14345,0,0,0.729078,-1.67818,105.325)"
+     style="font-size:12;"
+     id="g164">
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="16.6979"
+       y="222.966"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect138" />
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="14.7335"
+       y="221.002"
+       transform="translate(-1.30962,-1.30992)"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect133" />
+  </g>
+  <text
+     x="170.824753"
+     y="58.402939"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:18;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text183">
+    <tspan
+       x="170.824997"
+       y="58.402901"
+       id="tspan360">
+Application</tspan>
+  </text>
+  <text
+     x="178.076340"
+     y="364.281433"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:18;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text197">
+    <tspan
+       x="178.076004"
+       y="364.281006"
+       id="tspan421">
+Database</tspan>
+  </text>
+  <text
+     x="68.605331"
+     y="138.524582"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:16;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text216">
+    <tspan
+       x="68.605301"
+       y="138.524994"
+       id="tspan384">
+SessionFactory</tspan>
+  </text>
+  <rect
+     width="67.0014"
+     height="101.35"
+     x="196.927"
+     y="89.2389"
+     style="font-size:12;fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect387" />
+  <rect
+     width="67.0014"
+     height="101.35"
+     x="194.633"
+     y="86.4389"
+     style="font-size:12;fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect388" />
+  <text
+     x="249.108841"
+     y="173.885559"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:16;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text389">
+    <tspan
+       x="249.108994"
+       y="173.886002"
+       id="tspan392">
+Session</tspan>
+  </text>
+  <rect
+     width="73.0355"
+     height="101.35"
+     x="270.995"
+     y="90.0018"
+     style="font-size:12;fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect395" />
+  <rect
+     width="73.0355"
+     height="101.35"
+     x="267.869"
+     y="87.2018"
+     style="font-size:12;fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect396" />
+  <text
+     x="328.593658"
+     y="174.715622"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:16;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text397">
+    <tspan
+       x="328.593994"
+       y="174.716003"
+       id="tspan563">
+Transaction</tspan>
+  </text>
+  <g
+     transform="matrix(0.29544,0,0,0.397877,9.70533,103.96)"
+     style="font-size:12;"
+     id="g565">
+    <rect
+       width="285.502"
+       height="118.523"
+       x="16.6979"
+       y="99.2053"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect566" />
+    <rect
+       width="285.502"
+       height="118.523"
+       x="13.4238"
+       y="95.9309"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect567" />
+  </g>
+  <text
+     x="25.592752"
+     y="204.497803"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:10;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text568">
+    <tspan
+       x="25.592800"
+       y="204.498001"
+       id="tspan662">
+TransactionFactory</tspan>
+  </text>
+  <g
+     transform="matrix(0.298082,0,0,0.397877,99.6898,103.96)"
+     style="font-size:12;"
+     id="g573">
+    <rect
+       width="285.502"
+       height="118.523"
+       x="16.6979"
+       y="99.2053"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect574" />
+    <rect
+       width="285.502"
+       height="118.523"
+       x="13.4238"
+       y="95.9309"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect575" />
+  </g>
+  <text
+     x="134.030670"
+     y="205.532791"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:10;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text576">
+    <tspan
+       x="134.031006"
+       y="205.533005"
+       id="tspan664">
+ConnectionProvider</tspan>
+  </text>
+  <g
+     transform="matrix(1.14345,0,0,0.729078,-1.67818,38.9539)"
+     style="font-size:12;"
+     id="g587">
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="16.6979"
+       y="222.966"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect588" />
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="14.7335"
+       y="221.002"
+       transform="translate(-1.30962,-1.30992)"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect589" />
+  </g>
+  <rect
+     width="90.951"
+     height="44.4829"
+     x="25.6196"
+     y="206.028"
+     style="font-size:12;fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect594" />
+  <rect
+     width="90.951"
+     height="44.4829"
+     x="24.4229"
+     y="204.135"
+     style="font-size:12;fill:#b3b3b3;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect595" />
+  <text
+     x="85.575645"
+     y="282.300354"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:18;font-weight:normal;stroke-width:1pt;font-family:Helvetica;text-anchor:middle;"
+     id="text596">
+    <tspan
+       x="85.575600"
+       y="282.299988"
+       id="tspan607">
+JNDI</tspan>
+  </text>
+  <rect
+     width="90.951"
+     height="44.4829"
+     x="236.937"
+     y="206.791"
+     style="font-size:12;fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect610" />
+  <rect
+     width="90.951"
+     height="44.4829"
+     x="235.741"
+     y="204.898"
+     style="font-size:12;fill:#b3b3b3;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect611" />
+  <text
+     x="342.093201"
+     y="283.226410"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:18;font-weight:normal;stroke-width:1pt;font-family:Helvetica;text-anchor:middle;"
+     id="text612">
+    <tspan
+       x="342.092987"
+       y="283.226013"
+       id="tspan621">
+JTA</tspan>
+  </text>
+  <rect
+     width="90.951"
+     height="44.4829"
+     x="130.134"
+     y="206.791"
+     style="font-size:12;fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect616" />
+  <rect
+     width="90.951"
+     height="44.4829"
+     x="128.937"
+     y="204.898"
+     style="font-size:12;fill:#b3b3b3;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect617" />
+  <text
+     x="212.445343"
+     y="283.226410"
+     transform="scale(0.823795,0.823795)"
+     style="font-size:18;font-weight:normal;stroke-width:1pt;font-family:Helvetica;text-anchor:middle;"
+     id="text618">
+    <tspan
+       x="212.445007"
+       y="283.226013"
+       id="tspan623">
+JDBC</tspan>
+  </text>
+  <g
+     transform="matrix(0.823795,0,0,0.823795,0.120302,6.19341)"
+     style="font-size:12;"
+     id="g637">
+    <g
+       transform="matrix(0.499515,0,0,0.415467,-0.237339,5.61339)"
+       id="g167">
+      <rect
+         width="199.065"
+         height="61.5532"
+         x="61.8805"
+         y="68.4288"
+         style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+         id="rect134" />
+      <rect
+         width="199.065"
+         height="61.5532"
+         x="59.2613"
+         y="65.8095"
+         style="fill:#e0e0e0;fill-rule:evenodd;stroke-width:1pt;"
+         id="rect135" />
+    </g>
+    <text
+       x="33.749969"
+       y="50.589706"
+       style="font-size:11;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+       id="text188">
+      <tspan
+         x="33.750000"
+         y="50.589699"
+         id="tspan635">
+Transient Objects</tspan>
+    </text>
+  </g>
+  <g
+     transform="matrix(0.823795,0,0,0.823795,0.120302,5.25349)"
+     style="font-size:12;"
+     id="g644">
+    <g
+       transform="matrix(0.297486,0,0,0.516482,230.251,36.9178)"
+       id="g364">
+      <rect
+         width="199.065"
+         height="61.5532"
+         x="61.8805"
+         y="68.4288"
+         style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+         id="rect365" />
+      <rect
+         width="199.065"
+         height="61.5532"
+         x="59.2613"
+         y="65.8095"
+         style="fill:#e0e0e0;fill-rule:evenodd;stroke-width:1pt;"
+         id="rect366" />
+    </g>
+    <text
+       x="277.123230"
+       y="85.155571"
+       style="font-size:11;font-weight:normal;stroke-width:1pt;font-family:Helvetica;text-anchor:middle;"
+       id="text367">
+      <tspan
+         x="277.122986"
+         y="85.155602"
+         id="tspan631">
+Persistent</tspan>
+      <tspan
+         x="277.122986"
+         y="96.155602"
+         id="tspan633">
+Objects</tspan>
+    </text>
+  </g>
+</svg>

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/hibernate_logo_a.png (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/hibernate_logo_a.png)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/hibernate_logo_a.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/lite.gif (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/lite.gif)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/lite.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/lite.svg (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/lite.svg)
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/lite.svg	                        (rev 0)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/lite.svg	2007-05-03 07:25:50 UTC (rev 11461)
@@ -0,0 +1,334 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg
+  xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
+]>
+<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
+<svg
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   width="318.898"
+   height="248.031"
+   id="svg1">
+  <defs
+     id="defs3">
+    <linearGradient
+       x1="0"
+       y1="0"
+       x2="1"
+       y2="0"
+       id="linearGradient127"
+       gradientUnits="objectBoundingBox"
+       spreadMethod="pad">
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="0"
+         id="stop128" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="1"
+         id="stop129" />
+    </linearGradient>
+    <linearGradient
+       x1="0"
+       y1="0"
+       x2="1"
+       y2="0"
+       id="linearGradient130"
+       xlink:href="#linearGradient127"
+       gradientUnits="objectBoundingBox"
+       spreadMethod="pad" />
+    <radialGradient
+       cx="0.5"
+       cy="0.5"
+       fx="0.5"
+       fy="0.5"
+       r="0.5"
+       id="radialGradient131"
+       xlink:href="#linearGradient127"
+       gradientUnits="objectBoundingBox"
+       spreadMethod="pad" />
+  </defs>
+  <rect
+     width="291.837"
+     height="57.0074"
+     x="17.3169"
+     y="18.646"
+     style="font-size:12;fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect136" />
+  <rect
+     width="291.837"
+     height="57.0074"
+     x="13.9703"
+     y="16.2302"
+     style="font-size:12;fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+     id="rect126" />
+  <g
+     transform="matrix(0.326107,0,0,0.765831,9.59261,8.98517)"
+     style="font-size:12;"
+     id="g161">
+    <rect
+       width="285.502"
+       height="118.523"
+       x="16.6979"
+       y="99.2053"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect137" />
+    <rect
+       width="285.502"
+       height="118.523"
+       x="13.4238"
+       y="95.9309"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect132" />
+  </g>
+  <g
+     transform="matrix(1.02406,0,0,0.652953,0.223384,39.9254)"
+     style="font-size:12;"
+     id="g164">
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="16.6979"
+       y="222.966"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect138" />
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="14.7335"
+       y="221.002"
+       transform="translate(-1.30962,-1.30992)"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect133" />
+  </g>
+  <g
+     transform="matrix(0.449834,0,0,0.338463,-3.15909,9.73319)"
+     style="font-size:12;"
+     id="g167">
+    <rect
+       width="199.065"
+       height="61.5532"
+       x="61.8805"
+       y="68.4288"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect134" />
+    <rect
+       width="199.065"
+       height="61.5532"
+       x="59.2613"
+       y="65.8095"
+       style="fill:#e0e0e0;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect135" />
+  </g>
+  <text
+     x="302.277679"
+     y="65.943230"
+     transform="scale(0.73778,0.73778)"
+     style="font-size:18;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text183">
+    <tspan
+       x="302.277954"
+       y="65.943184"
+       id="tspan360">
+Application</tspan>
+  </text>
+  <text
+     x="36.235924"
+     y="63.796055"
+     transform="scale(0.73778,0.73778)"
+     style="font-size:14;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text188">
+    <tspan
+       x="36.235950"
+       y="63.796051"
+       id="tspan427">
+Transient Objects</tspan>
+  </text>
+  <text
+     x="180.416245"
+     y="290.543701"
+     transform="scale(0.73778,0.73778)"
+     style="font-size:18;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text197">
+    <tspan
+       x="180.415939"
+       y="290.543549"
+       id="tspan421">
+Database</tspan>
+  </text>
+  <text
+     x="25.037701"
+     y="179.154755"
+     transform="scale(0.73778,0.73778)"
+     style="font-size:16;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text216">
+    <tspan
+       x="25.037655"
+       y="179.154648"
+       id="tspan384">
+SessionFactory</tspan>
+  </text>
+  <g
+     transform="matrix(0.252763,0,0,0.765831,109.104,8.98517)"
+     style="font-size:12;"
+     id="g386">
+    <rect
+       width="285.502"
+       height="118.523"
+       x="16.6979"
+       y="99.2053"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect387" />
+    <rect
+       width="285.502"
+       height="118.523"
+       x="13.4238"
+       y="95.9309"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect388" />
+  </g>
+  <g
+     transform="matrix(0.297394,0,0,0.572692,101.502,21.6359)"
+     style="font-size:12;"
+     id="g364">
+    <rect
+       width="199.065"
+       height="61.5532"
+       x="61.8805"
+       y="68.4288"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect365" />
+    <rect
+       width="199.065"
+       height="61.5532"
+       x="59.2613"
+       y="65.8095"
+       style="fill:#e0e0e0;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect366" />
+  </g>
+  <text
+     x="202.746506"
+     y="102.992203"
+     transform="scale(0.73778,0.73778)"
+     style="font-size:14;font-weight:normal;stroke-width:1pt;font-family:Helvetica;text-anchor:middle;"
+     id="text367">
+    <tspan
+       x="202.746948"
+       y="102.992249"
+       id="tspan423">
+Persistent</tspan>
+    <tspan
+       x="202.746948"
+       y="116.992355"
+       id="tspan425">
+Objects</tspan>
+  </text>
+  <text
+     x="174.458496"
+     y="180.080795"
+     transform="scale(0.73778,0.73778)"
+     style="font-size:16;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text389">
+    <tspan
+       x="174.458618"
+       y="180.080338"
+       id="tspan392">
+Session</tspan>
+  </text>
+  <g
+     transform="matrix(0.127369,0,0,0.765831,188.675,8.98517)"
+     style="font-size:12;"
+     id="g394">
+    <rect
+       width="285.502"
+       height="118.523"
+       x="16.6979"
+       y="99.2053"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect395" />
+    <rect
+       width="285.502"
+       height="118.523"
+       x="13.4238"
+       y="95.9309"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect396" />
+  </g>
+  <text
+     x="260.413269"
+     y="179.154739"
+     transform="scale(0.73778,0.73778)"
+     style="font-size:16;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text397">
+    <tspan
+       x="260.412964"
+       y="179.154343"
+       id="tspan400">
+JDBC</tspan>
+  </text>
+  <g
+     transform="matrix(0.127369,0,0,0.765831,229.156,8.98517)"
+     style="font-size:12;"
+     id="g405">
+    <rect
+       width="285.502"
+       height="118.523"
+       x="16.6979"
+       y="99.2053"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect406" />
+    <rect
+       width="285.502"
+       height="118.523"
+       x="13.4238"
+       y="95.9309"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect407" />
+  </g>
+  <text
+     x="320.606903"
+     y="179.154739"
+     transform="scale(0.73778,0.73778)"
+     style="font-size:16;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text408">
+    <tspan
+       x="320.606964"
+       y="179.154343"
+       id="tspan417">
+JNDI</tspan>
+  </text>
+  <g
+     transform="matrix(0.127369,0,0,0.765831,269.281,8.98517)"
+     style="font-size:12;"
+     id="g411">
+    <rect
+       width="285.502"
+       height="118.523"
+       x="16.6979"
+       y="99.2053"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect412" />
+    <rect
+       width="285.502"
+       height="118.523"
+       x="13.4238"
+       y="95.9309"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect413" />
+  </g>
+  <text
+     x="377.096313"
+     y="179.154739"
+     transform="scale(0.73778,0.73778)"
+     style="font-size:16;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text414">
+    <tspan
+       x="377.096008"
+       y="179.154999"
+       id="tspan145">
+JTA</tspan>
+  </text>
+</svg>

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/overview.gif (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/overview.gif)
===================================================================
(Binary files differ)


Property changes on: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/overview.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/overview.svg (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/images/overview.svg)
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/overview.svg	                        (rev 0)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/resources/shared/images/overview.svg	2007-05-03 07:25:50 UTC (rev 11461)
@@ -0,0 +1,250 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg
+  xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
+]>
+<!-- Created with Sodipodi ("http://www.sodipodi.com/") -->
+<svg
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   width="248.031"
+   height="248.031"
+   id="svg1">
+  <defs
+     id="defs3">
+    <linearGradient
+       x1="0"
+       y1="0"
+       x2="1"
+       y2="0"
+       id="linearGradient127"
+       gradientUnits="objectBoundingBox"
+       spreadMethod="pad">
+      <stop
+         style="stop-color:#000000;stop-opacity:1;"
+         offset="0"
+         id="stop128" />
+      <stop
+         style="stop-color:#ffffff;stop-opacity:1;"
+         offset="1"
+         id="stop129" />
+    </linearGradient>
+    <linearGradient
+       x1="0"
+       y1="0"
+       x2="1"
+       y2="0"
+       id="linearGradient130"
+       xlink:href="#linearGradient127"
+       gradientUnits="objectBoundingBox"
+       spreadMethod="pad" />
+    <radialGradient
+       cx="0.5"
+       cy="0.5"
+       fx="0.5"
+       fy="0.5"
+       r="0.5"
+       id="radialGradient131"
+       xlink:href="#linearGradient127"
+       gradientUnits="objectBoundingBox"
+       spreadMethod="pad" />
+  </defs>
+  <g
+     transform="matrix(0.771934,0,0,0.771934,4.36019,-3.02123)"
+     style="font-size:12;"
+     id="g158">
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="16.6979"
+       y="17.3527"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect136" />
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="14.7335"
+       y="15.3883"
+       transform="translate(-1.30962,-1.30992)"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect126" />
+  </g>
+  <g
+     transform="matrix(0.771934,0,0,0.771934,4.36019,3.04452)"
+     style="font-size:12;"
+     id="g161">
+    <rect
+       width="285.502"
+       height="118.523"
+       x="16.6979"
+       y="99.2053"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect137" />
+    <rect
+       width="285.502"
+       height="118.523"
+       x="13.4238"
+       y="95.9309"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect132" />
+  </g>
+  <g
+     transform="matrix(0.771934,0,0,0.771934,4.36019,8.0993)"
+     style="font-size:12;"
+     id="g164">
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="16.6979"
+       y="222.966"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect138" />
+    <rect
+       width="285.502"
+       height="77.2688"
+       x="14.7335"
+       y="221.002"
+       transform="translate(-1.30962,-1.30992)"
+       style="fill:#d2d2d2;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect133" />
+  </g>
+  <g
+     transform="matrix(0.771934,0,0,0.543505,2.59104,21.1103)"
+     style="font-size:12;"
+     id="g167">
+    <rect
+       width="199.065"
+       height="61.5532"
+       x="61.8805"
+       y="68.4288"
+       style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect134" />
+    <rect
+       width="199.065"
+       height="61.5532"
+       x="59.2613"
+       y="65.8095"
+       style="fill:#e0e0e0;fill-rule:evenodd;stroke-width:1pt;"
+       id="rect135" />
+  </g>
+  <text
+     x="105.392174"
+     y="56.568123"
+     transform="scale(0.771934,0.771934)"
+     style="font-size:24;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text183">
+    <tspan
+       x="105.392273"
+       y="56.568146"
+       id="tspan186">
+Application</tspan>
+  </text>
+  <text
+     x="81.820183"
+     y="103.149330"
+     transform="scale(0.771934,0.771934)"
+     style="font-size:20;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text188">
+    <tspan
+       x="81.820213"
+       y="103.149727"
+       id="tspan206">
+Persistent Objects</tspan>
+  </text>
+  <text
+     x="111.548180"
+     y="278.927887"
+     transform="scale(0.771934,0.771934)"
+     style="font-size:24;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text197">
+    <tspan
+       x="111.547874"
+       y="278.927551"
+       id="tspan200">
+Database</tspan>
+  </text>
+  <text
+     x="94.436180"
+     y="153.805740"
+     transform="scale(0.771934,0.771934)"
+     style="font-size:24;font-weight:normal;stroke-width:1pt;font-family:Helvetica;"
+     id="text216">
+    <tspan
+       x="94.436180"
+       y="153.805740"
+       id="tspan221">
+HIBERNATE</tspan>
+  </text>
+  <g
+     transform="matrix(0.771934,0,0,0.771934,2.59083,1.02261)"
+     style="font-size:12;"
+     id="g254">
+    <g
+       transform="translate(4.58374,2.61928)"
+       id="g176">
+      <g
+         transform="matrix(0.571429,0,0,0.67347,-10.6174,117.093)"
+         id="g170">
+        <rect
+           width="199.065"
+           height="61.5532"
+           x="61.8805"
+           y="68.4288"
+           style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+           id="rect171" />
+        <rect
+           width="199.065"
+           height="61.5532"
+           x="59.2613"
+           y="65.8095"
+           style="fill:#e0e0e0;fill-rule:evenodd;stroke-width:1pt;"
+           id="rect172" />
+      </g>
+      <g
+         transform="matrix(0.571429,0,0,0.67347,138.682,117.093)"
+         id="g173">
+        <rect
+           width="199.065"
+           height="61.5532"
+           x="61.8805"
+           y="68.4288"
+           style="fill:#757575;fill-rule:evenodd;stroke-width:1pt;"
+           id="rect174" />
+        <rect
+           width="199.065"
+           height="61.5532"
+           x="59.2613"
+           y="65.8095"
+           style="fill:#e0e0e0;fill-rule:evenodd;stroke-width:1pt;"
+           id="rect175" />
+      </g>
+    </g>
+    <text
+       x="47.259438"
+       y="182.367538"
+       style="font-weight:bold;stroke-width:1pt;font-family:Courier;"
+       id="text191">
+      <tspan
+         x="47.259399"
+         y="182.367996"
+         id="tspan212">
+hibernate.</tspan>
+      <tspan
+         x="47.259399"
+         y="194.367996"
+         id="tspan214">
+properties</tspan>
+    </text>
+    <text
+       x="198.523010"
+       y="188.260941"
+       style="font-weight:normal;stroke-width:1pt;font-family:helvetica;"
+       id="text194">
+      <tspan
+         id="tspan195">
+XML Mapping</tspan>
+    </text>
+  </g>
+</svg>

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/fopdf.xsl (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/styles/fopdf.xsl)
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/fopdf.xsl	                        (rev 0)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/fopdf.xsl	2007-05-03 07:25:50 UTC (rev 11461)
@@ -0,0 +1,518 @@
+<?xml version="1.0"?>
+
+<!--
+
+    This is the XSL FO configuration file for the Hibernate
+    Reference Documentation. It defines a custom titlepage and
+    the parameters for the A4 sized PDF printable output.
+
+    It took me days to figure out this stuff and fix most of
+    the obvious bugs in the DocBook XSL distribution. Some of
+    the workarounds might not be appropriate with a newer version
+    of DocBook XSL. This file is released as part of Hibernate,
+    hence LGPL licensed.
+
+    christian at hibernate.org
+
+-->
+
+<xsl:stylesheet
+        version="1.0"
+        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+        xmlns:fo="http://www.w3.org/1999/XSL/Format"
+        exclude-result-prefixes="#default">
+
+    <xsl:import href="urn:docbkx:stylesheet" />
+
+    <!--###################################################
+                       Custom Title Page
+        ################################################### -->
+
+    <xsl:param name="book.titlepage.img">1</xsl:param>
+    <xsl:template name="book.titlepage.recto">
+        <fo:block>
+            <fo:table table-layout="fixed" width="175mm">
+                <fo:table-column column-width="175mm"/>
+                <fo:table-body>
+                    <fo:table-row>
+                        <fo:table-cell text-align="center">
+                            <fo:block>
+                                <fo:external-graphic content-height="1.2cm">
+                                    <xsl:attribute name="src">
+                                        <xsl:call-template name="fo-external-image">
+                                            <xsl:with-param name="filename" select="$book.titlepage.img"/>
+                                        </xsl:call-template>
+                                    </xsl:attribute>
+                                </fo:external-graphic>
+                            </fo:block>
+                            <fo:block font-family="Helvetica" font-size="18pt" padding-before="10mm">
+                                <xsl:value-of select="bookinfo/subtitle"/>
+                            </fo:block>
+                            <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
+                                Version:
+                                <xsl:value-of select="bookinfo/releaseinfo"/>
+                            </fo:block>
+                        </fo:table-cell>
+                    </fo:table-row>
+                </fo:table-body>
+            </fo:table>
+        </fo:block>
+    </xsl:template>
+
+    <!-- Prevent blank pages in output -->
+    <xsl:template name="book.titlepage.before.verso">
+    </xsl:template>
+    <xsl:template name="book.titlepage.verso">
+    </xsl:template>
+    <xsl:template name="book.titlepage.separator">
+    </xsl:template>
+
+    <!--###################################################
+                          Header
+        ################################################### -->
+
+    <!-- More space in the center header for long text -->
+    <xsl:attribute-set name="header.content.properties">
+        <xsl:attribute name="font-family">
+            <xsl:value-of select="$body.font.family"/>
+        </xsl:attribute>
+        <xsl:attribute name="margin-left">-5em</xsl:attribute>
+        <xsl:attribute name="margin-right">-5em</xsl:attribute>
+    </xsl:attribute-set>
+
+    <!--###################################################
+                          Custom Footer
+        ################################################### -->
+
+    <!-- This footer prints the Hibernate version number on the left side -->
+    <xsl:template name="footer.content">
+        <xsl:param name="pageclass" select="''"/>
+        <xsl:param name="sequence" select="''"/>
+        <xsl:param name="position" select="''"/>
+        <xsl:param name="gentext-key" select="''"/>
+
+        <xsl:variable name="Version">
+            <xsl:choose>
+                <xsl:when test="//releaseinfo">
+                    <xsl:text>Hibernate </xsl:text>
+                    <xsl:value-of select="//releaseinfo"/>
+                </xsl:when>
+                <xsl:otherwise>
+                    <!-- nop -->
+                </xsl:otherwise>
+            </xsl:choose>
+        </xsl:variable>
+
+        <xsl:choose>
+            <xsl:when test="$sequence='blank'">
+                <xsl:choose>
+                    <xsl:when test="$double.sided != 0 and $position = 'left'">
+                        <xsl:value-of select="$Version"/>
+                    </xsl:when>
+
+                    <xsl:when test="$double.sided = 0 and $position = 'center'">
+                        <!-- nop -->
+                    </xsl:when>
+
+                    <xsl:otherwise>
+                        <fo:page-number/>
+                    </xsl:otherwise>
+                </xsl:choose>
+            </xsl:when>
+
+            <xsl:when test="$pageclass='titlepage'">
+                <!-- nop: other titlepage sequences have no footer -->
+            </xsl:when>
+
+            <xsl:when test="$double.sided != 0 and $sequence = 'even' and $position='left'">
+                <fo:page-number/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided != 0 and $sequence = 'odd' and $position='right'">
+                <fo:page-number/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided = 0 and $position='right'">
+                <fo:page-number/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided != 0 and $sequence = 'odd' and $position='left'">
+                <xsl:value-of select="$Version"/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided != 0 and $sequence = 'even' and $position='right'">
+                <xsl:value-of select="$Version"/>
+            </xsl:when>
+
+            <xsl:when test="$double.sided = 0 and $position='left'">
+                <xsl:value-of select="$Version"/>
+            </xsl:when>
+
+            <xsl:otherwise>
+                <!-- nop -->
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:template>
+
+    <!--###################################################
+                       Custom Toc Line
+        ################################################### -->
+    
+    <!-- Improve the TOC. -->
+    <xsl:template name="toc.line">
+        <xsl:variable name="id">
+            <xsl:call-template name="object.id"/>
+        </xsl:variable>
+
+        <xsl:variable name="label">
+            <xsl:apply-templates select="." mode="label.markup"/>
+        </xsl:variable>
+
+        <fo:block text-align-last="justify"
+            end-indent="{$toc.indent.width}pt"
+            last-line-end-indent="-{$toc.indent.width}pt">
+            <fo:inline keep-with-next.within-line="always">
+                <fo:basic-link internal-destination="{$id}">
+
+                    <!-- Chapter titles should be bold. -->
+                    <xsl:choose>
+                        <xsl:when test="local-name(.) = 'chapter'">
+                            <xsl:attribute name="font-weight">bold</xsl:attribute>
+                        </xsl:when>
+                    </xsl:choose>
+
+                    <xsl:if test="$label != ''">
+                        <xsl:copy-of select="$label"/>
+                        <xsl:value-of select="$autotoc.label.separator"/>
+                    </xsl:if>
+                    <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+                </fo:basic-link>
+            </fo:inline>
+            <fo:inline keep-together.within-line="always">
+                <xsl:text> </xsl:text>
+                <fo:leader leader-pattern="dots"
+                    leader-pattern-width="3pt"
+                    leader-alignment="reference-area"
+                    keep-with-next.within-line="always"/>
+                <xsl:text> </xsl:text>
+                <fo:basic-link internal-destination="{$id}">
+                    <fo:page-number-citation ref-id="{$id}"/>
+                </fo:basic-link>
+            </fo:inline>
+        </fo:block>
+    </xsl:template>
+
+    <!--###################################################
+                          Extensions
+        ################################################### -->
+
+    <!-- These extensions are required for table printing and other stuff -->
+    <xsl:param name="use.extensions">1</xsl:param>
+    <xsl:param name="tablecolumns.extension">0</xsl:param>
+    <!-- FOP provide only PDF Bookmarks at the moment -->
+    <xsl:param name="fop.extensions">1</xsl:param>
+
+    <!--###################################################
+                          Table Of Contents
+        ################################################### -->
+
+    <!-- Generate the TOCs for named components only -->
+    <xsl:param name="generate.toc">
+        book   toc
+    </xsl:param>
+    
+    <!-- Show only Sections up to level 3 in the TOCs -->
+    <xsl:param name="toc.section.depth">3</xsl:param>
+    
+    <!-- Dot and Whitespace as separator in TOC between Label and Title-->
+    <xsl:param name="autotoc.label.separator" select="'.  '"/>
+
+
+    <!--###################################################
+                       Paper & Page Size
+        ################################################### -->
+    
+    <!-- Paper type, no headers on blank pages, no double sided printing -->
+    <xsl:param name="paper.type" select="'A4'"/>
+    <xsl:param name="double.sided">0</xsl:param>
+    <xsl:param name="headers.on.blank.pages">0</xsl:param>
+    <xsl:param name="footers.on.blank.pages">0</xsl:param>
+
+    <!-- Space between paper border and content (chaotic stuff, don't touch) -->
+    <xsl:param name="page.margin.top">5mm</xsl:param>
+    <xsl:param name="region.before.extent">10mm</xsl:param>
+    <xsl:param name="body.margin.top">10mm</xsl:param>
+
+    <xsl:param name="body.margin.bottom">15mm</xsl:param>
+    <xsl:param name="region.after.extent">10mm</xsl:param>
+    <xsl:param name="page.margin.bottom">0mm</xsl:param>
+
+    <xsl:param name="page.margin.outer">18mm</xsl:param>
+    <xsl:param name="page.margin.inner">18mm</xsl:param>
+
+    <!-- No intendation of Titles -->
+    <xsl:param name="title.margin.left">0pc</xsl:param>
+
+    <!--###################################################
+                       Fonts & Styles
+        ################################################### -->
+
+    <!-- Default Font size -->
+    <xsl:param name="body.font.master">11</xsl:param>
+
+    <!-- Line height in body text -->
+    <xsl:param name="line-height">1.4</xsl:param>
+
+    <!-- Monospaced fonts are smaller than regular text -->
+    <xsl:attribute-set name="monospace.properties">
+        <xsl:attribute name="font-family">
+            <xsl:value-of select="$monospace.font.family"/>
+        </xsl:attribute>
+        <xsl:attribute name="font-size">0.8em</xsl:attribute>
+    </xsl:attribute-set>
+
+    <!--###################################################
+                       Tables
+        ################################################### -->
+
+    <!-- The table width should be adapted to the paper size -->
+    <xsl:param name="default.table.width">17.4cm</xsl:param>
+
+    <!-- Some padding inside tables -->
+    <xsl:attribute-set name="table.cell.padding">
+        <xsl:attribute name="padding-left">4pt</xsl:attribute>
+        <xsl:attribute name="padding-right">4pt</xsl:attribute>
+        <xsl:attribute name="padding-top">4pt</xsl:attribute>
+        <xsl:attribute name="padding-bottom">4pt</xsl:attribute>
+    </xsl:attribute-set>
+    
+    <!-- Only hairlines as frame and cell borders in tables -->
+    <xsl:param name="table.frame.border.thickness">0.1pt</xsl:param>
+    <xsl:param name="table.cell.border.thickness">0.1pt</xsl:param>
+
+    <!--###################################################
+                             Labels
+        ################################################### -->
+
+    <!-- Label Chapters and Sections (numbering) -->
+    <xsl:param name="chapter.autolabel">1</xsl:param>
+    <xsl:param name="section.autolabel" select="1"/>
+    <xsl:param name="section.label.includes.component.label" select="1"/>
+
+    <!-- Label only Sections up to level 2 -->
+    <xsl:param name="local.l10n.xml" select="document('')"/>
+    <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+        <l:l10n language="en">
+            <l:context name="title-numbered">
+                <l:template name="sect3" text="%t"/>
+                <l:template name="sect4" text="%t"/>
+                <l:template name="sect5" text="%t"/>
+            </l:context>
+            <l:context name="section-xref-numbered">
+                <l:template name="sect3" text="the section called %t"/>
+                <l:template name="sect4" text="the section called %t"/>
+                <l:template name="sect5" text="the section called %t"/>
+            </l:context>
+        </l:l10n>
+    </l:i18n>
+    
+    <!--###################################################
+                             Titles
+        ################################################### -->
+    
+    <!-- Chapter title size -->
+    <xsl:attribute-set name="chapter.titlepage.recto.style">
+        <xsl:attribute name="text-align">left</xsl:attribute>
+        <xsl:attribute name="font-weight">bold</xsl:attribute>
+        <xsl:attribute name="font-size">
+            <xsl:value-of select="$body.font.master * 1.8"/>
+            <xsl:text>pt</xsl:text>
+        </xsl:attribute>
+    </xsl:attribute-set>
+
+    <!-- Why is the font-size for chapters hardcoded in the XSL FO templates? 
+        Let's remove it, so this sucker can use our attribute-set only... -->
+    <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
+        <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
+            xsl:use-attribute-sets="chapter.titlepage.recto.style">
+            <xsl:call-template name="component.title">
+                <xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/>
+            </xsl:call-template>
+        </fo:block>
+    </xsl:template>
+    
+    <!-- Sections 1, 2 and 3 titles have a small bump factor and padding -->
+    <xsl:attribute-set name="section.title.level1.properties">
+        <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
+        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+        <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
+        <xsl:attribute name="font-size">
+            <xsl:value-of select="$body.font.master * 1.5"/>
+            <xsl:text>pt</xsl:text>
+        </xsl:attribute>
+        <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+    </xsl:attribute-set>
+    <xsl:attribute-set name="section.title.level2.properties">
+        <xsl:attribute name="space-before.optimum">0.6em</xsl:attribute>
+        <xsl:attribute name="space-before.minimum">0.6em</xsl:attribute>
+        <xsl:attribute name="space-before.maximum">0.6em</xsl:attribute>
+        <xsl:attribute name="font-size">
+            <xsl:value-of select="$body.font.master * 1.25"/>
+            <xsl:text>pt</xsl:text>
+        </xsl:attribute>
+        <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+    </xsl:attribute-set>
+    <xsl:attribute-set name="section.title.level3.properties">
+        <xsl:attribute name="space-before.optimum">0.4em</xsl:attribute>
+        <xsl:attribute name="space-before.minimum">0.4em</xsl:attribute>
+        <xsl:attribute name="space-before.maximum">0.4em</xsl:attribute>
+        <xsl:attribute name="font-size">
+            <xsl:value-of select="$body.font.master * 1.0"/>
+            <xsl:text>pt</xsl:text>
+        </xsl:attribute>
+        <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+    </xsl:attribute-set>
+
+    <!-- Titles of formal objects (tables, examples, ...) -->
+    <xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
+        <xsl:attribute name="font-weight">bold</xsl:attribute>
+        <xsl:attribute name="font-size">
+            <xsl:value-of select="$body.font.master"/>
+            <xsl:text>pt</xsl:text>
+        </xsl:attribute>
+        <xsl:attribute name="hyphenate">false</xsl:attribute>
+        <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
+        <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
+        <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
+    </xsl:attribute-set>
+
+    <!--###################################################
+                          Programlistings
+        ################################################### -->
+    
+    <!-- Verbatim text formatting (programlistings) -->
+    <xsl:attribute-set name="verbatim.properties">
+        <xsl:attribute name="space-before.minimum">1em</xsl:attribute>
+        <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+        <xsl:attribute name="space-before.maximum">1em</xsl:attribute>
+        <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+        <xsl:attribute name="border-color">#444444</xsl:attribute>
+        <xsl:attribute name="border-style">solid</xsl:attribute>
+        <xsl:attribute name="border-width">0.1pt</xsl:attribute>
+        <xsl:attribute name="padding-top">0.5em</xsl:attribute>
+        <xsl:attribute name="padding-left">0.5em</xsl:attribute>
+        <xsl:attribute name="padding-right">0.5em</xsl:attribute>
+        <xsl:attribute name="padding-bottom">0.5em</xsl:attribute>
+        <xsl:attribute name="margin-left">0.5em</xsl:attribute>
+        <xsl:attribute name="margin-right">0.5em</xsl:attribute>
+    </xsl:attribute-set>
+
+    <!-- Shade (background) programlistings -->
+    <xsl:param name="shade.verbatim">1</xsl:param>
+    <xsl:attribute-set name="shade.verbatim.style">
+        <xsl:attribute name="background-color">#F0F0F0</xsl:attribute>
+    </xsl:attribute-set>
+
+    <!--###################################################
+                             Callouts
+        ################################################### -->
+
+    <!-- We want to use callouts... -->
+    <xsl:param name="callout.extensions">1</xsl:param>
+
+    <!-- Place callout bullets at this column in programmlisting.-->
+    <xsl:param name="callout.defaultcolumn">90</xsl:param>
+
+    <!--
+        No, don't use crappy graphics for the callout bullets. This setting
+        enables some weird Unicode rendering for some fancy bullet points
+        in callouts. By default, this can only count to 10 and produces
+        strange results if you ever have more than 10 callouts for one
+        programlisting. We will fix that next.
+    -->
+    <xsl:param name="callout.graphics">0</xsl:param>
+
+    <!--
+        Again, fun with DocBook XSL: The callout bullets are rendered in
+        two places: In the programlisting itself and in the list below
+        the listing, with the actual callout text. The rendering in the
+        programlisting is some XSL transformer extension (e.g. a Saxon
+        extension), so we can't change that without messing with the
+        extensions. We only can turn it off by setting this limit to
+        zero, then, a simple bracket style like "(3)" and "(4)" will
+        be used in the programlisting.
+    -->
+    <xsl:param name="callout.unicode.number.limit" select="'0'"></xsl:param>
+
+    <!--
+        The callout bullets in the actual callout list will be rendered
+        with an XSL FO template. The default template is broken: limited to 10
+        nice looking Unicode bullet points and then it doesn't print anything,
+        the fallback doesn't work. We implement our own template, which is not
+        as complicated, more ugly, but works. As always, function is more
+        important than form.
+    -->
+    <xsl:template name="callout-bug">
+        <xsl:param name="conum" select='1'/>
+        <fo:inline
+            color="black"
+            padding-top="0.1em"
+            padding-bottom="0.1em"
+            padding-start="0.2em"
+            padding-end="0.2em"
+            baseline-shift="0.1em"
+            font-family="{$monospace.font.family}"
+            font-weight="bold"
+            font-size="75%">
+            <xsl:text>(</xsl:text>
+            <xsl:value-of select="$conum"/>
+            <xsl:text>)</xsl:text>
+        </fo:inline>
+
+    </xsl:template>
+
+    <!--###################################################
+                              Misc
+        ################################################### -->
+
+    <!-- Correct placement of titles for figures and examples. -->
+    <xsl:param name="formal.title.placement">
+        figure after
+        example before
+        equation before
+        table before
+        procedure before
+    </xsl:param>
+    
+    <!-- Format Variable Lists as Blocks (prevents horizontal overflow). -->
+    <xsl:param name="variablelist.as.blocks">1</xsl:param>
+
+    <!-- The horrible list spacing problems, this is much better. -->
+    <xsl:attribute-set name="list.block.spacing">
+        <xsl:attribute name="space-before.optimum">0.8em</xsl:attribute>
+        <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+        <xsl:attribute name="space-before.maximum">0.8em</xsl:attribute>
+        <xsl:attribute name="space-after.optimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.minimum">0.1em</xsl:attribute>
+        <xsl:attribute name="space-after.maximum">0.1em</xsl:attribute>
+    </xsl:attribute-set>
+
+    <!-- Newer DocBook XSL apparently thinks that some sections are by
+         default "draft" status, and this idiotic thing is by default
+         also set to "maybe", so it spits out a lot of errors with the
+         latest FOP as the XSL/FO styles have references to some draft
+         watermarks, which you actually don't want in the first place.
+         Turn this crap off. If you have to work with the "status"
+         attribute, don't.
+    -->
+    <xsl:param name="draft.mode" select="'no'"/>
+
+</xsl:stylesheet>

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/html.xsl (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/styles/html.xsl)
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/html.xsl	                        (rev 0)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/html.xsl	2007-05-03 07:25:50 UTC (rev 11461)
@@ -0,0 +1,84 @@
+<?xml version="1.0"?>
+
+<!--
+
+    This is the XSL HTML configuration file for the Hibernate
+    Reference Documentation.
+
+    It took me days to figure out this stuff and fix most of
+    the obvious bugs in the DocBook XSL distribution. Some of
+    the workarounds might not be appropriate with a newer version
+    of DocBook XSL. This file is released as part of Hibernate,
+    hence LGPL licensed.
+
+    christian at hibernate.org
+-->
+
+<!DOCTYPE xsl:stylesheet [
+    <!ENTITY db_xsl_path        "../../support/docbook-xsl/">
+]>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0"
+                xmlns="http://www.w3.org/TR/xhtml1/transitional"
+                exclude-result-prefixes="#default">
+                
+<xsl:import href="&db_xsl_path;/html/docbook.xsl"/>
+
+<!--###################################################
+                     HTML Settings
+    ################################################### -->   
+
+    <xsl:param name="html.stylesheet">../shared/css/html.css</xsl:param>
+
+    <!-- These extensions are required for table printing and other stuff -->
+    <xsl:param name="use.extensions">1</xsl:param>
+    <xsl:param name="tablecolumns.extension">0</xsl:param>
+    <xsl:param name="callout.extensions">1</xsl:param>
+    <xsl:param name="graphicsize.extension">0</xsl:param>
+
+<!--###################################################
+                      Table Of Contents
+    ################################################### -->   
+
+    <!-- Generate the TOCs for named components only -->
+    <xsl:param name="generate.toc">
+        book   toc
+    </xsl:param>
+    
+    <!-- Show only Sections up to level 3 in the TOCs -->
+    <xsl:param name="toc.section.depth">3</xsl:param>
+    
+<!--###################################################
+                         Labels
+    ################################################### -->   
+
+    <!-- Label Chapters and Sections (numbering) -->
+    <xsl:param name="chapter.autolabel">1</xsl:param>
+    <xsl:param name="section.autolabel" select="1"/>
+    <xsl:param name="section.label.includes.component.label" select="1"/>
+
+<!--###################################################
+                         Callouts
+    ################################################### -->
+
+    <!-- Don't use graphics, use a simple number style -->
+    <xsl:param name="callout.graphics">0</xsl:param>
+
+    <!-- Place callout marks at this column in annotated areas -->
+    <xsl:param name="callout.defaultcolumn">90</xsl:param>
+
+<!--###################################################
+                          Misc
+    ################################################### -->   
+
+    <!-- Placement of titles -->
+    <xsl:param name="formal.title.placement">
+        figure after
+        example before
+        equation before
+        table before
+        procedure before
+    </xsl:param>    
+    
+</xsl:stylesheet>

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/html_chunk.xsl (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/styles/html_chunk.xsl)
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/html_chunk.xsl	                        (rev 0)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/standard/style/html_chunk.xsl	2007-05-03 07:25:50 UTC (rev 11461)
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+
+<!--
+
+    This is the XSL HTML configuration file for the Hibernate
+    Reference Documentation.
+
+    It took me days to figure out this stuff and fix most of
+    the obvious bugs in the DocBook XSL distribution. Some of
+    the workarounds might not be appropriate with a newer version
+    of DocBook XSL. This file is released as part of Hibernate,
+    hence LGPL licensed.
+
+    christian at hibernate.org
+-->
+
+<!DOCTYPE xsl:stylesheet [
+    <!ENTITY db_xsl_path        "../../support/docbook-xsl/">
+]>
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0"
+                xmlns="http://www.w3.org/TR/xhtml1/transitional"
+                exclude-result-prefixes="#default">
+                
+<xsl:import href="&db_xsl_path;/html/chunk.xsl"/>
+
+<!--###################################################
+                     HTML Settings
+    ################################################### -->   
+
+    <xsl:param name="chunk.section.depth">'5'</xsl:param>
+    <xsl:param name="use.id.as.filename">'1'</xsl:param>
+    <xsl:param name="html.stylesheet">../shared/css/html.css</xsl:param>
+
+    <!-- These extensions are required for table printing and other stuff -->
+    <xsl:param name="use.extensions">1</xsl:param>
+    <xsl:param name="tablecolumns.extension">0</xsl:param>
+    <xsl:param name="callout.extensions">1</xsl:param>
+    <xsl:param name="graphicsize.extension">0</xsl:param>
+    
+<!--###################################################
+                      Table Of Contents
+    ################################################### -->   
+
+    <!-- Generate the TOCs for named components only -->
+    <xsl:param name="generate.toc">
+        book   toc
+    </xsl:param>
+    
+    <!-- Show only Sections up to level 3 in the TOCs -->
+    <xsl:param name="toc.section.depth">3</xsl:param>
+
+<!--###################################################
+                         Labels
+    ################################################### -->   
+
+    <!-- Label Chapters and Sections (numbering) -->
+    <xsl:param name="chapter.autolabel">1</xsl:param>
+    <xsl:param name="section.autolabel" select="1"/>
+    <xsl:param name="section.label.includes.component.label" select="1"/>
+                
+<!--###################################################
+                         Callouts
+    ################################################### -->   
+
+    <!-- Don't use graphics, use a simple number style -->
+    <xsl:param name="callout.graphics">0</xsl:param>
+
+    <!-- Place callout marks at this column in annotated areas -->
+    <xsl:param name="callout.defaultcolumn">90</xsl:param>
+
+<!--###################################################
+                          Misc
+    ################################################### -->   
+
+    <!-- Placement of titles -->
+    <xsl:param name="formal.title.placement">
+        figure after
+        example before
+        equation before
+        table before
+        procedure before
+    </xsl:param>    
+    
+</xsl:stylesheet>

Copied: trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/translations/en/master.xml (from rev 11433, trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/en/master.xml)
===================================================================
--- trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/translations/en/master.xml	                        (rev 0)
+++ trunk/sandbox/maven-poc/plugins/docbook/src/test/resources/org/jboss/maven/docbook/gen/translations/en/master.xml	2007-05-03 07:25:50 UTC (rev 11461)
@@ -0,0 +1,124 @@
+<?xml version='1.0' encoding="iso-8859-1"?>
+
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!ENTITY version "(undefined)">
+]>
+
+<book lang="en">
+
+    <bookinfo>
+        <title>HIBERNATE - Relational Persistence for Idiomatic Java</title>
+        <subtitle>Hibernate Reference Documentation</subtitle>
+        <releaseinfo>&version;</releaseinfo>
+    </bookinfo>
+
+    <toc/>
+
+    <preface id="preface" revision="2">
+        <title>Preface</title>
+
+        <para>
+            Working with object-oriented software and a relational database can be cumbersome
+            and time consuming in today's enterprise environments. Hibernate is an object/relational
+            mapping tool for Java environments. The term object/relational mapping (ORM) refers to
+            the technique of mapping a data representation from an object model to a relational
+            data model with a SQL-based schema.
+        </para>
+
+        <para>
+            Hibernate not only takes care of the mapping from Java classes to
+            database tables (and from Java data types to SQL data types), but also provides data
+            query and retrieval facilities and can significantly reduce development time otherwise
+            spent with manual data handling in SQL and JDBC.
+        </para>
+
+        <para>
+            Hibernates goal is to relieve the developer from 95 percent of common data persistence
+            related programming tasks. Hibernate may not be the best solution for data-centric
+            applications that only use stored-procedures to implement the business logic in the
+            database, it is most useful with object-oriented domain models and business logic in
+            the Java-based middle-tier. However, Hibernate can certainly help you to remove or
+            encapsulate vendor-specific SQL code and will help with the common task of result set
+            translation from a tabular representation to a graph of objects.
+        </para>
+
+        <para>
+            If you are new to Hibernate and Object/Relational Mapping or even Java,
+            please follow these steps:
+        </para>
+
+        <orderedlist>
+            <listitem>
+                <para>
+                    Read <xref linkend="tutorial"/> for a tutorial with step-by-step
+                    instructions. The source code for the tutorial is included in the
+                    distribution in the <literal>doc/reference/tutorial/</literal>
+                    directory.
+                </para>
+            </listitem>
+            <listitem>
+                <para>
+                    Read <xref linkend="architecture"/> to understand the environments where
+                    Hibernate can be used.
+                </para>
+            </listitem>
+            <listitem>
+                <para>
+                    Have a look at the <literal>eg/</literal> directory in the Hibernate
+                    distribution, it contains a simple standalone application. Copy your
+                    JDBC driver to the <literal>lib/</literal> directory and edit
+                    <literal>etc/hibernate.properties</literal>, specifying correct values for
+                    your database. From a command prompt in the distribution directory,
+                    type <literal>ant eg</literal> (using Ant), or under Windows, type
+                    <literal>build eg</literal>.
+                </para>
+            </listitem>
+            <listitem>
+                <para>
+                    Use this reference documentation as your primary source of information.
+                    Consider reading <emphasis>Hibernate in Action</emphasis>
+                    (http://www.manning.com/bauer) if you need more help with application
+                    design or if you prefer a step-by-step tutorial. Also visit
+                    http://caveatemptor.hibernate.org and download the example application
+                    for Hibernate in Action.
+                </para>
+            </listitem>
+            <listitem>
+				<para>
+					FAQs are answered on the Hibernate website.
+				</para>
+            </listitem>
+			<listitem>
+				<para>
+					Third party demos, examples, and tutorials are linked on the Hibernate
+					website.
+				</para>
+			</listitem>
+            <listitem>
+                <para>
+                    The Community Area on the Hibernate website is a good resource for
+                    design patterns and various integration solutions (Tomcat, JBoss AS,
+                    Struts, EJB, etc.).
+                </para>
+            </listitem>
+         </orderedlist>
+
+         <para>
+             If you have questions, use the user forum linked on the Hibernate website. We also
+             provide a JIRA issue trackings system for bug reports and feature requests. If you
+             are interested in the development of Hibernate, join the developer mailing list. If
+             you are interested in translating this documentation into your language, contact us
+             on the developer mailing list.
+         </para>
+
+         <para>
+             Commercial development support, production support, and training for Hibernate is
+             available through JBoss Inc. (see http://www.hibernate.org/SupportTraining/).
+             Hibernate is a Professional Open Source project and a critical component of the
+             JBoss Enterprise Middleware System (JEMS) suite of products.
+         </para>
+
+    </preface>
+
+</book>
+




More information about the hibernate-commits mailing list