Errata

Java & XML Data Binding

Errata for Java & XML Data Binding

Submit your own errata for this product.

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 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

Anonymous   
Printed Page 44
Figure 3-2

Filesystem layout does not show bindingSchema direcory. Looks like it should be
located under the varying Ch0? directories.

Anonymous   
Printed Page 45
First "command line" under the Verifying Output section

the line:
C:devjavajaxbch03src>cd generated

Should be changed to:
C:devjavajaxbch03src>cd ....
or
C:devjavajaxbch03src>cd devjavajaxb

Anonymous   
Printed Page 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%libjaxb-rt-1.0-ea.jar -d build
ch03srcgeneratedjavajaxbgeneratedmovies*.java

Anonymous   
Printed Page 53
Example 4-1

Given that we had changed the movie.dtd back on page 36 the movie.xml should look
like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE movies SYSTEM "movies.dtd">
<movies version="1.1">
<movie title="Pitch Black" >
<cast>
<actor headliner="true">Vin Diesel</actor>
<actor headliner="true">Radha Mitchell</actor>
<actor>Vic Wilson</actor>
</cast>
<producer>Tom Engelman</producer>
</movie>
<movie title="Memento" director="Christopher Nolan">
<cast>
<actor headliner="true">Guy Pearce</actor>
<actor headliner="true">Carrie-Ann Moss</actor>
</cast>
<producer>Suzanne Todd</producer>
<producer>Jennifer Todd</producer>
</movie>
</movies>

Anonymous   
Printed Page 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.

Anonymous