• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

body-content

 
Thiru Thangavelu
Ranch Hand
Posts: 219
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the following is a valid for <body-content> of <tablib>?
jsp(or)JSP

or is the case matters?
 
Dexter Blick
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
case matters
JSP is the correct value
 
Maha Annadurai
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jsp 1.2 spec does clearly say that the values are case dependent. Here is the info.
JSP.7.4 The Tag Library Descriptor Format
tagdependent The body of the action is passed verbatim to be interpreted by the
tag handler itself, and is most likely in a different �language�, e.g.
embedded SQL statements. The body of the action may be empty.
No quoting is performed.
JSP The body of the action contains elements using the JSP syntax.
The body of the action may be empty.
empty The body must be empty
The default value is �JSP�.
The syntax is:
<!ELEMENT body-content (#PCDATA) >
#PCDATA ::= tagdependent | JSP | empty.
Values are case dependent.

So if some containers are not so strict, that means they are not strictly following the spec.
I think we should follow the spec for the exam.
Regards,
Maha Anna
 
friso jonge
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP is the right answer. Do not be fooled to believe jsp is a right answer as well. Some containers do treat this as a good working value as well.
 
Ruchik Bhatt
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The XML format JSP coding is case sensitive like the XML itself so JSP is the right way....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic