On Wed, 10 Apr 2002, Steve Bang wrote:

> In the JSTL specs, examples show prefixes such as c_rt, yet the <short-name>
> in the TLD says "c-rt" should be the prefix.  This would apply to all of the
> other rt tags too.  Which is correct?  Shouldn't the <short-name> match the
> prefix?  That seems to be implied by the short-name description in the JSP
> 1.2 specs:
> 
>   "a simple default short name that could be used by a JSP page
>    authoring tool to create names with a mnemonic value; for
>    example, the it may be used as the preferred prefix value in taglib
>    directives."

Yes, good catch -- although <short-name> isn't meant to be canonical, just
suggestive.  The spec's use of underscores is correct, and the TLDs were
wrong; I've changed them.  Thanks, Steve.

-- 
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to