my dog learned polymorphism
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes security-role question (HFS related) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "security-role question (HFS related)" Watch "security-role question (HFS related)" New topic

security-role question (HFS related)

Krzysiek Hycnar
Ranch Hand

Joined: Jan 02, 2004
Posts: 74
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:


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

[ February 12, 2005: Message edited by: Krzysiek Hycnar ]
Dale Seng
Ranch Hand

Joined: Mar 22, 2004
Posts: 275
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.

I agree. Here's the link:
subject: security-role question (HFS related)
It's not a secret anymore!