Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mandatory elements in tld file  RSS feed

 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the mandatory elements in a tld file.
The elements

are mandatory. Do we need to have <shortname> and <tag> element also ? Cant i (theoretically) have a tld file with no tag element with say an EL function in that.

I find different sources mentioning different elements for this. Or is HFSJ the final word on this ?
 
M Jairam
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Subramanian:

Actually, the following are the only two elements that are mandatory in taglib. Note that "uri" is not mandatory:

<tlib-version>
<short-name>

You can either refer to the spec. or use the following link:

http://www.javaranch.com

hth
[ December 11, 2005: Message edited by: M Jairam ]
 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jairam - that was pretty useful.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!