Book Errata : Cocoon: Building XML Applications - the errors
Updated: 19.06.2003; 18:52:15.

 

------

Subscribe to "Book Errata" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Freitag, 11. Oktober 2002

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    

© Copyright 2003 Matthew Langham.



Click here to visit the Radio UserLand website.

 


June 2003
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
Oct   Jul