Errata

XSL-FO

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page xv
1st para

It says that examples are available but i cannot find them on the site. There is no
'examples' link on the books page as there is with, for example, XSLT.

Anonymous   
PDF Page xv
oreilly/catalog/xslfo

Trying to download the example code from oreilly/catalog/xslfo results in an error message that things are not found on the server

I would like to get access to the sample code, please

Paul Wellens

Paul Wellens  Dec 03, 2010 
Printed Page 21
Example 2-4. Basic stylesheet

I attempted to run the above referenced code with the Antenna House XSL Formatter and
received this error: "Text not allowed here." I reviewed the XSLT style sheet, and I
believe the following code has an error because it is attempting to output text
directly into a <fo:flow></fo:flow> instead of into a <fo:block></fo:block>.

This is the code that threw the error:

<fo:page-sequence master-reference="only">
<fo:flow flow-name="xsl-region-body">
<xsl:apply-templates />
</fo:flow>
</fo:page-sequence>

I believe it should be changed to:

<fo:page-sequence master-reference="only">
<fo:flow flow-name="xsl-region-body">
<fo:block>
<xsl:apply-templates />
</fo:block>
</fo:flow>
</fo:page-sequence>

Anonymous   
Printed Page 24
bottom

I have the first printing of this book, but the correction listed under "Changes
made in the 12/03 reprint" DOES NOT work correctly.

Try this instead:

<xsl:template name="toc">
<xsl:for-each select="section">
<fo:block text-align-last="justify" text-indent="2em">
<xsl:value-of
select="head"/> <fo:leader
leader-pattern="dots"/> <fo:page-number-citation ref-id="{@id}"/>

<xsl:call-template name="toc"/>

</fo:block>
</xsl:for-each>
</xsl:template>

Then enclose the whole thing in a block with margin-left set to -2em.

Anonymous   
Printed Page 34
figure 3.2

"outer" page reference area should be page viewport area

Anonymous   
Printed Page 39
figure 3.4

rb-rl should be tb-rl

Anonymous   
Printed Page 51
Example 3-5

<fo:repeatable-page-master
should read
<fo:repeatable-page-master-reference

Anonymous   
Printed Page 58-59
58: 1st, 2nd, 4th code block from bottom, 59 code blocks 1-5

comment lines missing prefix "<!-- ", these omissions cause the code to fail to compile.

Anonymous  Sep 18, 2010 
Printed Page 105
Example 5-23

The table example does not work. It only works if the appropriate <fo:table-column>
entries are inserted.

The entry border= is somewhat misleading, since border="1pt" does not work as
expected: the proper entry was:

border-width="1pt" border-style="solid"

Anonymous   
Printed Page 106
4th Paragrah (First under 'Fixed width table and columns')

Reads: "To produce a fixed-width table, set table-layout to either a length..." The
above "table-layout" should be "inline-progression-dimension"

Anonymous   
Printed Page 179
halfway

"Its" misspelled as "It's"

Anonymous   
Printed Page 180
halfway

"It" misspelled as "IT"

Anonymous