Problem with similar tags in taglibs

I've got similar tags in different taglibs ("title" for example), they differ with their attributes. In such code:

]]>

selects attribute names in "<entry:title image="entry" type=""/>" with red, as it thinks, that it is a tag from "jd" taglib, not from "entry" taglib.

Build 4069, Windows. But in linux behaviour is the same.

Created an issue: http://www.jetbrains.net/jira/browse/IDEA-6106

8 comments

Probably, the tlds have the same URI.

Alexander Babaev wrote:

I've got similar tags in different taglibs ("title" for example), they differ with their attributes. In such code:

> > >

> > ]]>

selects attribute names in "<entry:title image="entry" type=""/>" with red, as it thinks, that it is a tag from "jd" taglib, not from "entry" taglib.

Build 4069, Windows. But in linux behaviour is the same.

Created an issue: http://www.jetbrains.net/jira/browse/IDEA-6106



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

I think not (from web.xml):

/WEB-INF/jdnevnik.tlb /WEB-INF/jdnevnik.tlb /WEB-INF/jdnevnikEntry.tlb /WEB-INF/jdnevnikEntry.tlb ]]>

0

Any chance to get sample project with jsp/tlds/web.xml illustrating the
problem?

Alexander Babaev wrote:

I think not (from web.xml):

> /WEB-INF/jdnevnik.tlb > /WEB-INF/jdnevnik.tlb > > > > /WEB-INF/jdnevnikEntry.tlb > /WEB-INF/jdnevnikEntry.tlb > > ]]>



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Well, it's rather big and complex. But I'll try to create small project with the bug.

0

Well, it was easy. I've attached a? archive with sample project. It has one jsp file and two (not implemented) tlb-files.

If you open jsp, entry:title tag will be treated from wrong taglib.

Note the change of "red selection" when changing the order of included tlbs.



Attachment(s):
IdeaBugTlb.zip
0

have you tried filling in the TLD URIS in the .tlb files ?

I gave it a look and the uri elements are empty

0

Filling them in tld would make IDEA to work, but since correct uris are
defined in web.xml this is IDEA bug anyway

Thibaut wrote:

have you tried filling in the TLD URIS in the .tlb files ?

I gave it a look and the uri elements are empty



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

It worked normally some time before 5.0 release, do not remember exactly build number.

0

Please sign in to leave a comment.