Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Are these empty elements valid in DD?

 
pradeep singh
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Are these empty elements valid in DD?


1.<session-config></session-config>
2.<welcome-file-list></welcome-file-list>
3.<user-data-constraint></user-data-constraint>
4.<security-constraint></security-constraint>
5.<login-config></login-config>
6.<security-role></security-role>
7.<env-entry></env-entry>


My view is that only 1 and 5 are valid.Am i right?Please correct me if i am wrong.My reasons are:
In 2. there must be atleast one <welcome-file> subelements.
In 3 there must be only one <transport-guarantee> subelement
In 4.there must be atleast one<web-resource-collection>subelement.
In 6.there must be only one <role-name>subelement.
In 7.there must be <env-entry-name>and <env-entry-type>subelements ,<env-entry-value>is optional.

[ June 07, 2008: Message edited by: pradeep singh ]
[ June 07, 2008: Message edited by: pradeep singh ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can easily clear this kind of doubt by downloading the spec and looking into it. The deployement descriptor diagrams are very explicit.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic