Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP 2.0 RC1 - taglib requires URI
WTP 2.0 RC1 - taglib requires URI [message #193234] Sat, 26 May 2007 23:47 Go to next message
Rupert Woodman is currently offline Rupert WoodmanFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

I'm in the process of moving a project I have from WTP 1.5.4 to 2.0 RC1 (as
a side issue, I'm wondering how I move forward when RC2 comes out?).

A JSP (actually a .tag file - the lines work fine in a .jsp file) I have
which works fine in WTP 1.5.4 no longer works (gives red sqiggly underline)
under version 2.0. It's
possible that I'm taking advantage of a bug in version 1.5.4 and it should
never have worked, but looking at the Sun docs for JSP 2.0, I think it
should be fine.
The code I have is as follows:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<%@ taglib tagdir="/WEB-INF/tags" prefix="om" %>


It is complaining about the 3rd line with the following message (shown in
the "Problems" tab):
Missing required attribute "uri"

Looking at the Sun docs for JSP 2.0
( http://java.sun.com/products/jsp/syntax/2.0/syntaxref2012.ht ml#1003416) it
looks to me as if the uri attribute is optional, if you have a tagdir
attribute, which I do.
If it is a bug, is there a workaround? Of course, if I'm doing something
wrong, please say so! :-)

I'm using Tomcat 6.0.23 (so that I can use JSF - which is why I'm upgrading
to version 2 of WTP), if that has any impact.

Many thanks for your help

Rgds

Rupert.
Re: WTP 2.0 RC1 - taglib requires URI [message #193428 is a reply to message #193234] Tue, 29 May 2007 10:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi Rupert,

seems to be a bug in 2.0. You should file a bugzilla report.

1.5 did not report an error because they could not deal with tag files in this
version.

Wolfgang

Rupert Woodman wrote:
> Hi,
>
> I'm in the process of moving a project I have from WTP 1.5.4 to 2.0 RC1 (as
> a side issue, I'm wondering how I move forward when RC2 comes out?).
>
> A JSP (actually a .tag file - the lines work fine in a .jsp file) I have
> which works fine in WTP 1.5.4 no longer works (gives red sqiggly underline)
> under version 2.0. It's
> possible that I'm taking advantage of a bug in version 1.5.4 and it should
> never have worked, but looking at the Sun docs for JSP 2.0, I think it
> should be fine.
> The code I have is as follows:
> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
>
> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
>
> <%@ taglib tagdir="/WEB-INF/tags" prefix="om" %>
>
>
> It is complaining about the 3rd line with the following message (shown in
> the "Problems" tab):
> Missing required attribute "uri"
>
> Looking at the Sun docs for JSP 2.0
> ( http://java.sun.com/products/jsp/syntax/2.0/syntaxref2012.ht ml#1003416) it
> looks to me as if the uri attribute is optional, if you have a tagdir
> attribute, which I do.
> If it is a bug, is there a workaround? Of course, if I'm doing something
> wrong, please say so! :-)
>
> I'm using Tomcat 6.0.23 (so that I can use JSF - which is why I'm upgrading
> to version 2 of WTP), if that has any impact.
>
> Many thanks for your help
>
> Rgds
>
> Rupert.
>
>
>
Re: WTP 2.0 RC1 - taglib requires URI [message #193580 is a reply to message #193428] Tue, 29 May 2007 22:06 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

Wolfgang Knauf wrote:
> Hi Rupert,
>
> seems to be a bug in 2.0. You should file a bugzilla report.
>
> 1.5 did not report an error because they could not deal with tag files
> in this version.

It's definitely a bug. You're seeing it validated with the rules
for the JSP 1.2 taglib directive instead of the 2.0 version. Please
do open a report.

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20To ols&component=jst.jsp


--
Nitin Dahyabhai
Structured Source Editor


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: WTP 2.0 RC1 - taglib requires URI [message #193820 is a reply to message #193580] Sat, 02 June 2007 10:50 Go to previous message
Rupert Woodman is currently offline Rupert WoodmanFriend
Messages: 24
Registered: July 2009
Junior Member
Thanks chaps - bug raised - 190643

rgds

Rupert

"Nitin Dahyabhai" <nitind@us.ibm.com> wrote in message
news:f3i86p$110$1@build.eclipse.org...
> Wolfgang Knauf wrote:
>> Hi Rupert,
>>
>> seems to be a bug in 2.0. You should file a bugzilla report.
>>
>> 1.5 did not report an error because they could not deal with tag files in
>> this version.
>
> It's definitely a bug. You're seeing it validated with the rules for the
> JSP 1.2 taglib directive instead of the 2.0 version. Please do open a
> report.
>
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20To ols&component=jst.jsp
>
>
> --
> Nitin Dahyabhai
> Structured Source Editor
Previous Topic:WTP Book Released!
Next Topic:Validator Filters
Goto Forum:
  


Current Time: Fri Mar 29 15:51:48 GMT 2024

Powered by FUDForum. Page generated in 0.02477 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top