Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

security-role question (HFS related)

 
Krzysiek Hycnar
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got a question with regards to <securuty-role> element.
In the "old dtd days" it looked kind of like this <!ELEMENT security-role (description?, role-name)>, now they use xml schemas (I'm not a fluent reader of them yet) to validate, but it looks like this has not been changed. I've even checked the latest Servlet Specification 2.4 on the page 145, and it still looks like there still must be exactly one occurence of the "role-name" inside "security-role" element, but in HSF on pages 632 and 643 they typed:

<security-role>
<role-name>Admin</role-name>
<role-name>Member</role-name>
<role-name>Guest</role-name>
</security-role>


So... to errata or not to errata??


Even if the authors' intention was to simplify an example, or save paper (don't think so) - it's a bad idea, because if you just skim through the text while revision it may be burned in and obviously won't pay on the exam (if you're unlucky to get question on that).

Cheers
Chris
[ February 12, 2005: Message edited by: Krzysiek Hycnar ]
 
Dale Seng
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't remember who, but an exam passer just made note of the same specific fault with the book. I'd say if it's not already there, put it into the erratta site at o'reily.

--Dale--
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic