Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Contradiction in servlet spec

 
Russell Tao
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found there was a contradiction in servlet spec(pdf),
at p313: <!ELEMENT security-role-ref (description?, role-name, role-link)>
at p336: <!ELEMENT security-role-ref (description?, role-name, role-link?)>

Wondering whether role-link is required or not in security-role-ref?
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

at p336: <!ELEMENT security-role-ref (description?, role-name, role-link?)>


The <role-link> is optional.

Thanks
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!