To help avoid that sort of confusion, I've taken to using a "urn:" scheme
instead of an "http:" scheme for my taglibs. As an example, URIs for Struts
taglibs could look like:

urn:x-taglib:org.apache.struts.bean
urn:x-taglib:org.apache.struts.html

Where "x-taglib" is the URN Namespace ID. Not sure that it's that big a deal but
I like the fact that it's a name as opposed to a location.

Quoting Nicolas De Loof <[EMAIL PROTECTED]>:

> 
> Those URIs in taglibs are only used AFAIK to locate a taglib from a JSP <%
> taglib %> directive without having to set a
> <taglib> element in web.xml.
> 
> Notice I submited a ticket about tiles.dtd that uses
> jakarta.apache.org/struts.
> 
> Nico.
> 
> 
> > Thanks for pointing this out (and also Kunal Parikh) - I've updated this
> in
> > CVS.
> >
> > Having said that, I'm not sure it makes any difference. I was under the
> > impression that these URI's should point to a publicly available copy of
> the
> > tld and but there aren't copies either on struts.apache.org or
> > jakarata.apache.org/struts. Anyone know if this is an issue?
> >
> > Niall
> >
> > ----- Original Message ----- 
> > From: "Matthias Wessendorf" <[EMAIL PROTECTED]>
> > To: "'Struts Developers List'" <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 01, 2004 8:57 AM
> > Subject: URI in Struts-1.2.3 (was RE: Struts 1.2.2 Dead in the Water?)
> >
> >
> > > I saw in CVS,
> > >
> > > that URI for Struts-Faces points
> > > also to Jakarta:
> > > <uri>http://jakarta.apache.org/struts/tags-faces</uri>
> > >
> > >
> > > @struts-el:
> > > only tiles-el points to jakarta
> > > (in Struts 1.2.3)
> > > <uri>http://struts.apache.org/tags-bean-el</uri>
> > > <uri>http://struts.apache.org/tags-html-el</uri>
> > > <uri>http://struts.apache.org/tags-logic-el</uri>
> > > <uri>http://jakarta.apache.org/struts/tags-tiles-el</uri>
> > >
> > > Regards,
> > > Matthias
> > >
> > > > -----Original Message-----
> > > > From: Kunal Parikh [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, September 01, 2004 9:15 AM
> > > > To: Struts Developers List
> > > > Subject: Re: Struts 1.2.2 Dead in the Water?
> > > >
> > > >
> > > > The taglib URI for struts-el is
> > > > http://jakarta.apache.org/struts/tags-tiles-el
> > > >
> > > > Should this URI really be http://struts.apache.org/tags-tiles-el
> > > >
> > > > Note: the non-el version seems to be more in line with the
> > > > other taglib URIs http://struts.apache.org/tags-tiles
> > > >
> > > > HTH,
> > > >
> > > > Kunal

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to