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

Bug 352148

Summary: XML JSP can create unbalanced DOM
Product: [WebTools] WTP Source Editing Reporter: Nick Sandonato <nsand.dev>
Component: jst.jspAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.0.5Flags: thatnitind: review+
Target Milestone: 3.0.5 P   
Hardware: All   
OS: All   
Whiteboard: WI78116
Attachments:
Description Flags
patch none

Description Nick Sandonato CLA 2011-07-14 13:55:56 EDT
For example:

  <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
	<table xmlns="http://foo.com/tag"/>
  </jsp:root>

Will cause the end-tag </jsp:root> to be a child node of <table>. Also, invalid validation messages are generated because the DOM is treated as HTML, when it is XML JSP.
Comment 1 Nick Sandonato CLA 2011-07-14 13:57:32 EDT
Created attachment 199690 [details]
patch
Comment 2 Nick Sandonato CLA 2011-11-14 17:19:16 EST
This was actually released back in July. Resolving.