• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ Page 632: Questions

 
Salvador Cecilio
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page 632 ("Authorization Step 1: defining roles") of the Head First Servlets & JSP book displays the following:



I'm using the following schema from page 154:



I get the following error message when validating the web.xml:


Field matches more than one value within the scope of its selector; fields must match unique values

Element 'role-name' is not valid for content model: '(description,role-name)'


Is my code at fault? Is the book in error? Has the schema been modified since the writing of this book?
 
sarang bharambe
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Salvador,

You can Get the answer to this in the Errata For HFSJ:

Here:HFSJ Errata

look for page No 632.

Regards,
sarang
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic