Bug 167287 - [VPD] Invalid taglib elements inserted into JSPX pages
Summary: [VPD] Invalid taglib elements inserted into JSPX pages
Status: CLOSED FIXED
Alias: None
Product: Java Server Faces
Classification: WebTools
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 RC0   Edit
Assignee: Gerry Kessler CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-12-08 15:07 EST by Ian Trimble CLA
Modified: 2008-05-09 11:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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