• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

security-role question (HFS related)

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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--
 
reply
    Bookmark Topic Watch Topic
  • New Topic