This page contains known errata from the first printing of the book. If you have anything to add then please send me an email.
Page 77, Listing 4.7
The entry for the file generator in the <map:generators> section of the sitemap should read:
<map:generator name="file" ...>
The same is true on pages 81, 82 Listings 4.9, 4.10, 4.11
Page 112, Listing 4.37
The pipeline fragment showing the resource-exists action contains an error. Here is the correct version - the change is in the src of the generator nested inside the resource-exists action:
<map:act type="resource-exists"> <map:parameter name="url" value="{1}.xml"/> <!-- It's available -->
<map:generate src="{../1}.xml"/> ...
</map:act>
Page 117/118, Listing 4.43
The pipeline fragment for the download server contains an error. Here is the correct version - the change is in the src of the reader nested inside the resource-exists action:
<map:act type="resource-exists"> <map:parameter name="url" value="download/{file}"/>
<map:read src="download/{../file}"/>
</map:act>
Page 155, Figure 6.5
The first line should read:
<map:action-set name="myactionset">
And in the second box, typographic quotation marks are used instead of ".
Page 214, Listing 8.4
The first finally clause in the listing should read:
finally { selector.release( generator ); }
Page 249, Text
The paragraph should read (changes marked):
Cocoon already provides some abstract classes from which your little action can inherit: AbstractAction and the ComposerAction. AbstractAction already implements the Loggable interface. ComposerAction extends AbstractAction by also implementing the Composable interface.
Page 278, Listing 9.17
The recycle() method should contain an additional super.recycle() as the last statement.
Page 300, Text
The last sentence should read:
<?xml-logicsheet href="logicsheet.xsl"?>
12:35:26 PM
|