On Fri, May 9, 2008 at 7:46 AM, Michael Koch <[EMAIL PROTECTED]> wrote:
> On Thu, May 08, 2008 at 11:00:33PM +0300, Teodor wrote:
>> Package: fop
>> Version: 1:0.94.dfsg-2
>> Severity: important
>>
>> An xml -> pdf transformation is not working anymore. This is the log
>> from the console:
>
> Can you please attach a small testcase that reproduces this for you?

I've attached the files used for a demonstration. The first execution
is with fop=0.20.5-8 from etch:

[EMAIL PROTECTED]:~/fop-testcase$ fop -c "config.xml" -xsl "docbook.xsl"
-xml "example.xml" -pdf "example.pdf"
[INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
[INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
file:/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl; Line
#316; Column #16; Making portrait pages on USletter paper (8.5inx11in)
file:/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl; Line
#328; Column #16; Read /usr/share/doc/docbook-xsl/README.Debian
section 5(a).
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]
[INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
[INFO] [2]
[INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [3]
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [4] (blank)
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [5]
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [6] (blank)
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [1]
[INFO] area contents overflows area in line
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [2] (blank)
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [3]
[INFO] Using org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser as SAX2 Parser
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [4] (blank)
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [5]
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] [6] (blank)
[WARNING] Zero-width table column!
[WARNING] Zero-width table column!
[INFO] Parsing of document complete, stopping renderer


The second execution is with fop=0.94 from lenny:

[EMAIL PROTECTED]:~/fop-testcase$ fop -c "config.xml" -xsl "docbook.xsl"
-xml "example.xml" -pdf "example.pdf"
May 9, 2008 11:59:05 PM org.apache.fop.cli.InputHandler warning
WARNING: javax.xml.transform.TransformerException: Making portrait
pages on USletter paper (8.5inx11in)
May 9, 2008 11:59:05 PM org.apache.fop.cli.InputHandler warning
WARNING: javax.xml.transform.TransformerException: Read
/usr/share/doc/docbook-xsl/README.Debian section 5(a).
May 9, 2008 11:59:06 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException:
org.apache.fop.apps.FOPException: Error(Unknown location): No element
mapping definition found for (Namespace URI:
"http://xml.apache.org/fop/extensions";, Local Name: "destination")
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:166)
        at org.apache.fop.cli.Main.main(Main.java:197)

---------

javax.xml.transform.TransformerException:
org.apache.fop.apps.FOPException: Error(Unknown location): No element
mapping definition found for (Namespace URI:
"http://xml.apache.org/fop/extensions";, Local Name: "destination")
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1412)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:128)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:141)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:162)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:162)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:141)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:141)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:141)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2270)
        at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1356)
        at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)
        at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1273)
        at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251)
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:166)
        at org.apache.fop.cli.Main.main(Main.java:197)
Caused by: org.apache.fop.apps.FOPException: Error(Unknown location):
No element mapping definition found for (Namespace URI:
"http://xml.apache.org/fop/extensions";, Local Name: "destination")
        at 
org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
        at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:214)
        at org.apache.fop.fo.FOTreeBuilder.access$1(FOTreeBuilder.java:213)
        at 
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:310)
        at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)
        at 
org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:206)
        at 
org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:279)
        at 
org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:245)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1401)
        ... 38 more
---------
org.apache.fop.apps.FOPException: Error(Unknown location): No element
mapping definition found for (Namespace URI:
"http://xml.apache.org/fop/extensions";, Local Name: "destination")
        at 
org.apache.fop.fo.ElementMappingRegistry.findFOMaker(ElementMappingRegistry.java:143)
        at org.apache.fop.fo.FOTreeBuilder.findFOMaker(FOTreeBuilder.java:214)
        at org.apache.fop.fo.FOTreeBuilder.access$1(FOTreeBuilder.java:213)
        at 
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:310)
        at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)
        at 
org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:206)
        at 
org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:279)
        at 
org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:245)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1401)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:128)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:141)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:162)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(ElemApplyTemplates.java:395)
        at 
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:178)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemIf.execute(ElemIf.java:162)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:141)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:141)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:141)
        at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
        at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2270)
        at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1356)
        at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)
        at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1273)
        at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251)
        at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
        at org.apache.fop.cli.Main.startFOP(Main.java:166)
        at org.apache.fop.cli.Main.main(Main.java:197)


I've removed the directories 'fonts' and 'images' but the result is the same.

Thanks
<!--<!DOCTYPE configuration SYSTEM "config.dtd">-->
<!-- 
     this file contains templates which allow an user easy 
     configuration of Fop. Actually normally you don't need this configuration 
     file, but if you need to change configuration, you should
     always use this file and *not* config.xml. 
     Usage: java org.apache.fop.apps.Fop -c userconfig.xml -fo fo-file -pdf pdf-file
-->


<configuration>

<!--  
baseDir: normally the base directory is the directory where the fo file is 
         located. if you want to specify your own, uncomment this entry.
         This value can also be a URL. Actually, the value is converted to 
         a URL.
-->
<!-- 
  <entry>
   <key>baseDir</key>
   <value></value>
  </entry>
-->

<!--  
fontBaseDir: Similar to baseDir, except that this value is used for fonts. If
         it isn't specified, the value from baseDir is used.
-->

  <entry>
   <key>fontBaseDir</key>
   <value>./fonts</value>
  </entry>


<!--
************************************************************************
                        HYPHENATION 
************************************************************************
-->
  
<!--
   hyphenation directory 
   if you want to specify your own directory with hyphenation pattern
   then uncomment the next entry and add the directory name
-->

<!--
  <entry>
   <key>hyphenation-dir</key>
   <value>/java/xml-fop/hyph</value>
  </entry>
-->

<!--
************************************************************************
  Add fonts here
************************************************************************
-->

<fonts>
  
  <font metrics-file="metrics/Bembo.xml" kerning="yes" embed-file="Bembo.ttf">
    <font-triplet name="Bembo" style="normal" weight="normal"/>
  </font>
    
  <font metrics-file="metrics/Bembo,Bold.xml" kerning="yes" embed-file="Bembo,Bold.ttf">
    <font-triplet name="Bembo" style="normal" weight="bold"/>
  </font>
  
  <font metrics-file="metrics/Bembo,Italic.xml" kerning="yes" embed-file="Bembo,Italic.ttf">
    <font-triplet name="Bembo" style="italic" weight="normal"/>
  </font>
  
  <font metrics-file="metrics/Bembo,Bold+Italic.xml" kerning="yes" embed-file="Bembo,Bold+Italic.ttf">
    <font-triplet name="Bembo" style="italic" weight="bold"/>
  </font>
  
  <font metrics-file="metrics/Century.xml" kerning="yes" embed-file="Century.ttf">
    <font-triplet name="Century" style="normal" weight="normal"/>
    <font-triplet name="Century" style="normal" weight="bold"/>
    <font-triplet name="Century" style="italic" weight="normal"/>
    <font-triplet name="Century" style="italic" weight="bold"/>
  </font>
  
  <font metrics-file="metrics/Century-SchoolBook.xml" kerning="yes" embed-file="Century-SchoolBook.ttf">
    <font-triplet name="Century-SchoolBook" style="normal" weight="normal"/>
    <font-triplet name="Century-SchoolBook" style="normal" weight="bold"/>
    <font-triplet name="Century-SchoolBook" style="italic" weight="normal"/>
    <font-triplet name="Century-SchoolBook" style="italic" weight="bold"/>
  </font>
  
  <font metrics-file="metrics/OCRB.xml" kerning="yes" embed-file="OCRB.pfb">
    <font-triplet name="OCRB" style="normal" weight="normal"/>
    <font-triplet name="OCRB" style="normal" weight="bold"/>
    <font-triplet name="OCRB" style="italic" weight="normal"/>
    <font-triplet name="OCRB" style="italic" weight="bold"/>
  </font>
  
</fonts>


</configuration>

<?xml version="1.0"?>
<!--
     ********************************************************************
     $Id: docbook.xsl,v 1.10 2008/02/12 10:59:43 mihaib Exp $
     ********************************************************************
-->


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0">
	<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl"/>
	<xsl:param name="paper.type" select="'USletter'"/>
	<xsl:param name="fop.extensions" select="1"/>
	<xsl:param name="double.sided" select="1"/>
	<xsl:param name="header.rule" select="0"/>
	<xsl:param name="footer.rule" select="0"/>
	<xsl:param name="page.margin.top" select="'0.6in'"/>
	<xsl:param name="region.before.extent" select="'0.9in'"/>
	<xsl:param name="body.margin.top" select="'1.0in'"/>
	<xsl:param name="page.margin.bottom" select="'0.63in'"/>
	<xsl:param name="region.after.extent" select="'0.62in'"/>
	<xsl:param name="body.margin.bottom" select="'0.7in'"/>
	<xsl:param name="alignment">left</xsl:param>
	<xsl:param name="hyphenate">true</xsl:param>
	<xsl:param name="page.margin.inner">
		<xsl:choose>
			<xsl:when test="$double.sided != 0">1.75in</xsl:when>
			<xsl:otherwise>1in</xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	<xsl:param name="page.margin.outer">
		<xsl:choose>
			<xsl:when test="$double.sided != 0">1.5in</xsl:when>
			<xsl:otherwise>1in</xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	<xsl:param name="title.font.family" select="'OCRB'"/>
	<xsl:param name="body.font.family" select="'Bembo'"/>
	<xsl:param name="body.font.size">
		<xsl:value-of select="$body.font.master"/>
		<xsl:text>pt</xsl:text>
	</xsl:param>
	<!--  MIKE - added Hyphenate parameter-->
	<!--xsl:param name="hyphenate" select="'false'"/-->

	<xsl:param name="body.font.master">9</xsl:param>
	<xsl:param name="monospace.font.family" select="'OCRB'"/>
	<xsl:attribute-set name="monospace.properties">
      <xsl:attribute name="font-size">7pt</xsl:attribute>
		<xsl:attribute name="font-family"><xsl:value-of select="$monospace.font.family"/></xsl:attribute>
	</xsl:attribute-set>
	<xsl:param name="footers.on.blank.pages" select="1"/>
	<xsl:param name="headers.on.blank.pages" select="1"/>
	<xsl:param name="header.column.widths" select="'1 0 0'"/>
	<xsl:param name="footer.column.widths" select="'5 3 1'"/>
	<!--xsl:param name="chapter.autolabel" select="1"></xsl:param>
<xsl:param name="part.autolabel" select="0"></xsl:param-->
	<xsl:param name="header.image.filename.even"><xsl:value-of select="'images/EvenPageHeader.png'"/></xsl:param>
	<xsl:param name="header.image.filename.odd"><xsl:value-of select="'images/OddPageHeader.png'"/></xsl:param>
	<xsl:param name="header.image.filename.cover"><xsl:value-of select="'images/CoverPageHeader.png'"/></xsl:param>
	<xsl:param name="headers.on.blank.pages" select="1"/>
	<xsl:param name="footers.on.blank.pages" select="1"/>
	<xsl:attribute-set name="footer.content.properties">
		<xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"/></xsl:attribute>
		<xsl:attribute name="margin-left"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
	</xsl:attribute-set>
	<xsl:param name="section.autolabel" select="1"/>
	<xsl:param name="section.autolabel.max.depth" select="8"/>
	<xsl:param name="section.label.includes.component.label" select="1"/>
	<xsl:param name="body.start.indent">
	-100pt
  <!--xsl:choose>
    <xsl:when test="$fop.extensions != 0">0pt</xsl:when>
    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
    <xsl:otherwise>4pc</xsl:otherwise>
  </xsl:choose-->
	</xsl:param>
	<xsl:param name="title.margin.left">
0pt
  <!--xsl:choose>
    <xsl:when test="$fop.extensions != 0">-4pc</xsl:when>
    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
    <xsl:otherwise>0pt</xsl:otherwise>
  </xsl:choose-->
	</xsl:param>
	<xsl:param name="formal.title.placement">
figure after
example before
equation after
table after
procedure before
</xsl:param>
	<!--xsl:param name="draft.mode" select="'no'"></xsl:param-->
	<xsl:param name="generate.toc">
/appendix toc,title
article/appendix  nop
/article  toc,title
book      toc,title
/chapter  toc,title
part      toc,title
/preface  toc,title
qandadiv  toc
qandaset  toc
reference toc,title
/sect1    toc
/sect2    toc
/sect3    toc
/sect4    toc
/sect5    toc
/section  toc
set       toc,title
</xsl:param>
	<xsl:param name="autotoc.label.separator" select="' '"/>
	<xsl:attribute-set name="list.item.spacing">
		<xsl:attribute name="space-before.optimum">6pt</xsl:attribute>
		<xsl:attribute name="space-before.minimum">4pt</xsl:attribute>
		<xsl:attribute name="space-before.maximum">6pt</xsl:attribute>
	</xsl:attribute-set>
	<xsl:attribute-set name="list.block.spacing">
		<xsl:attribute name="space-before.optimum">6pt</xsl:attribute>
		<xsl:attribute name="space-before.minimum">4pt</xsl:attribute>
		<xsl:attribute name="space-before.maximum">6pt</xsl:attribute>
		<xsl:attribute name="space-after.optimum">6pt</xsl:attribute>
		<xsl:attribute name="space-after.minimum">4pt</xsl:attribute>
		<xsl:attribute name="space-after.maximum">6pt</xsl:attribute>
		<xsl:attribute name="margin-left">
			<xsl:choose>
				<xsl:when test="self::itemizedlist">10pt</xsl:when>
				<xsl:otherwise>10pt</xsl:otherwise>
			</xsl:choose>
		</xsl:attribute>
	</xsl:attribute-set>
	<xsl:attribute-set name="formal.object.properties">
		<xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
		<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
		<xsl:attribute name="space-before.maximum">2em</xsl:attribute>
		<!--xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
  <xsl:attribute name="space-after.maximum">2em</xsl:attribute-->
		<xsl:attribute name="keep-together.within-column">always</xsl:attribute>
	</xsl:attribute-set>
	<xsl:attribute-set name="normal.para.spacing">
		<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
		<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
		<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
		<xsl:attribute name="line-height">14pt</xsl:attribute>
	</xsl:attribute-set>
	<xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
		<!--xsl:attribute name="font-weight">bold</xsl:attribute-->
		<xsl:attribute name="start-indent">20pt</xsl:attribute>
		<xsl:attribute name="font-family">OCRB</xsl:attribute>
		<xsl:attribute name="font-size">5.5pt</xsl:attribute>
		<xsl:attribute name="color">#808080</xsl:attribute>
		<xsl:attribute name="hyphenate">false</xsl:attribute>
		<xsl:attribute name="space-before.minimum">10pt</xsl:attribute>
		<xsl:attribute name="space-before.optimum">15pt</xsl:attribute>
		<xsl:attribute name="space-before.maximum">20pt</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 name="keep-with-next.within-column">always</xsl:attribute>
	</xsl:attribute-set>
	<!--xsl:param name="default.image.width" select="'400pt'" /-->
	<xsl:attribute-set name="nongraphical.admonition.properties">
		<xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
		<xsl:attribute name="space-before.optimum">1em</xsl:attribute>
		<xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
		<xsl:attribute name="margin-left">0.25in</xsl:attribute>
		<xsl:attribute name="margin-right">0.25in</xsl:attribute>
	</xsl:attribute-set>
	<xsl:attribute-set name="admonition.properties"/>
	<xsl:param name="admon.graphics" select="0"/>
	<xsl:param name="admon.textlabel" select="1"/>
<xsl:attribute-set name="monospace.verbatim.properties2" use-attribute-sets="verbatim.properties2 monospace.properties2">
  <xsl:attribute name="text-align">start</xsl:attribute>
  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="verbatim.properties2">
  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
  <xsl:attribute name="hyphenate">true</xsl:attribute>
</xsl:attribute-set>  
<xsl:attribute-set name="monospace.properties2">
  <xsl:attribute name="font-size">7pt</xsl:attribute>
  <xsl:attribute name="font-family">
    <xsl:value-of select="$monospace.font.family"/>
  </xsl:attribute>
</xsl:attribute-set>
	<xsl:param name="qanda.defaultlabel">qanda</xsl:param>
<xsl:param name="draft.mode" select="'no'"/>
<xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"/>	
	
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>
<book>
  <title>Document Title</title>

  <bookinfo>
    <pubdate>February 07, 2007</pubdate>

    <releaseinfo>Version 1.32</releaseinfo>

    <legalnotice>
      <para>No part of this publication may be reproduced stored in a
      retrieval system, or transmitted, in any form or by any means, without
      the prior written permission of ..</para>
    </legalnotice>

    <othercredit>
      <othername>.. MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE
      CONTENTS HEREOF AND SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OR
      MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE.</othername>
    </othercredit>

    <copyright>
      <year>.. IS A REGISTERED TRADEMARK ..</year>
    </copyright>

    <corpauthor>www.example.com</corpauthor>
  </bookinfo>

  <chapter>
    <title>Introduction</title>

    <sect1>
      <title>About this document</title>

      <para>This document represents a ..</para>
    </sect1>

    <sect1>
      <title>Introduction to ..</title>

      <para>There are several ways ..</para>
    </sect1>
  </chapter>

  <chapter>
    <title>First Topic ..</title>

    <para><emphasis>What ..?</emphasis></para>
  </chapter>

  <chapter>
    <title>Second Topic ..</title>

    <para>The implementation ..</para>
  </chapter>
</book>
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to