Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 167287

Summary: [VPD] Invalid taglib elements inserted into JSPX pages
Product: [WebTools] Java Server Faces Reporter: Ian Trimble <ian.trimble>
Component: UIAssignee: Gerry Kessler <gerry.kessler>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: raghunathan.srinivasan, thatnitind
Version: 2.0Keywords: helpwanted
Target Milestone: 2.0 RC0   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Ian Trimble CLA 2006-12-08 15:07:19 EST
When using an item from the pallete in the Visual Page Designer (VPD), an element such as <jsp:directive.taglib ... /> is created when the taglib has not yet been declared in the page. According to spec, this tag is invalid. What should be inserted is an "xmlns:{prefix}={url}" attribute on the <jsp:root ... /> element.
Comment 1 Raghunathan Srinivasan CLA 2007-04-17 14:49:02 EDT
Investigate only
Comment 2 Gerry Kessler CLA 2007-04-20 11:55:28 EDT
Hey Nitin,

Are there plans to improve SSE handling of JSPX files in 2.0 release?

GK
Comment 3 Nitin Dahyabhai CLA 2007-04-21 00:07:37 EDT
Gerry, we should already support the xmlns: machanism for attributes on jsp:root tags for JSPX, it sounds like the wrong text is just being inserted from the palette.  If there's anything else you're curious about, I'll need more detail.
Comment 4 Gerry Kessler CLA 2007-04-21 13:01:52 EDT
Nitin, yes the issue with this bug is all ours.   I was wondering about SSE handling for JSPX content assist, validation, etc.
Comment 5 Nitin Dahyabhai CLA 2007-04-23 13:59:26 EDT
It should all just work the same, although there may be some mixups between handling a JSP file that generates XML and a JSP file that's merely written as XML.  If anything looks amiss, just open a bug report for it.
Comment 6 Gerry Kessler CLA 2007-04-23 16:49:56 EDT
fixed 4/23/07
Comment 7 Ian Trimble CLA 2008-05-08 19:30:27 EDT
Verified 05/08/2008.
Comment 8 Gerry Kessler CLA 2008-05-09 11:49:41 EDT
closing