| Summary: |
[content assist] Portions of tag library description can be missing or altered when displayed by JSP content assist |
| Product: |
[WebTools] WTP Source Editing
|
Reporter: |
David Lewis <dlewis> |
| Component: |
jst.jsp | Assignee: |
Rakesh <rakes123> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
Nitin Dahyabhai <thatnitind> |
| Severity: |
normal
|
|
|
| Priority: |
P3
|
CC: |
itewksbu, nsand.dev, rakes123
|
| Version: |
2.0.2 | Keywords: |
helpwanted |
| Target Milestone: |
3.3 M5 | Flags: |
nsand.dev:
review+
|
| Hardware: |
PC | |
|
| OS: |
Windows XP | |
|
| Whiteboard: |
|
| Attachments: |
| Description |
Flags |
patch
|
none
|
|
patch
|
nsand.dev:
iplog+
|
|
Build ID: M20080221-1800 Steps To Reproduce: The portion of a description in a tag library that contains < or > symbols is missing or altered when displayed by JSP content assist in the JSP editor. This applies to cases where the description is wrapped in a "<![CDATA[ ... ]]>" section, or the < and > are escaped as ">" and "<". 1. Create a tag library such as "sample.tld": <tag> <name>tableConfig</name> <tag-class>org.nfis.n3wrt.taglib.TableConfig</tag-class> <description> <![CDATA[Tag library for configuring filtering, ordering and formatting of rows and columns displayed using the <rowLoop/> and <colLoop/> tags.]]> </description> 2. Create a new JSP page that references the "sample.tld" tag library. Reference the tag library and use the CTRL-Space to enable the content assist. 3. Note that the text reads: "Tag library for configuring filtering, ordering and formatting of rows and columns displayed using the and tags." The <rowLoop/> and <colLoop/> are missing. 4. Update the description in the tag library so that it does not use a "<![CDATA[ ... ]]>" section, and instead reads: "Tag library for configuring filtering, ordering and formatting of rows and columns displayed using the >rowLoop/< and >colLoop/< tags." 5. When using the content assist in the JSP, note that the text now reads: "Tag library for configuring filtering, ordering and formatting of rows and columns displayed using the >rowLoop/colLoop/< tags." More information: