Java and XML Data Binding by Brett McLaughlin The unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification This page was updated August 26, 2002. UNCONFIRMED errors and comments from readers: {Chapter 3} I just started working through the downloaded examples available at http://www.newinstance.com/writing/javajaxb/javajaxb_examples/javajaxb_all.z ip, and found a problem with the file /javajaxb/ch03/src/bindingSchema/movies.xjs. In line two, it says: This matches what the book says at the top of page 39, but is different page 111 of The Java Architecture for XML Binding (JAXB) version 0.21 and from xjs.dtd as downloaded from java.sun.com with this version string: @(#)xjs.dtd 1.11 01/05/31 which contains the following attribute definition (without the hyphen): (40) 4th line from bottom; The line: default-reference-collection-type="array" will need to be changed to: default-reference-collection-type="list" and the java classes regenerated and recompiled to allow the example 4-3 MovieServlet.java (44) Figure 3-2; Filesystem layout does not show bindingSchema direcory. Looks like it should be located under the varying Ch0? directories. (45) First "command line" under the Verifying Output section; the line: C:\dev\javajaxb\ch03\src>cd generated Should be changed to: C:\dev\javajaxb\ch03\src>cd ..\.. or C:\dev\javajaxb\ch03\src>cd \dev\javajaxb {45} Second "command line" under the Verifying Output section; The required JAR file should be specified on the command line (unless already added to the CLASSPATH); the correct way of invoking the compilation process is as follows: javac -classpath %JAXB_HOME%\lib\jaxb-rt-1.0-ea.jar -d build ch03\src\generated\javajaxb\generated\movies\*.java {53} Example 4-1; Given that we had changed the movie.dtd back on page 36 the movie.xml should look like this: Vin Diesel Radha Mitchell Vic Wilson Tom Engelman Guy Pearce Carrie-Ann Moss Suzanne Todd Jennifer Todd {118} 4th paragraph on page, first paragraph under heading "Installation and Setup"; The URL given for the Zeus project is incorrect. The Zeus Data Binding project home page is http://zeus.enhydra.org The sourcforge project for Zeus is zeus-db, but as at 20/07/02 this project did not contain any files in CVS.