Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352148 - XML JSP can create unbalanced DOM
Summary: XML JSP can create unbalanced DOM
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 3.0.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0.5 P   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard: WI78116
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 13:55 EDT by Nick Sandonato CLA
Modified: 2011-11-14 17:19 EST (History)
1 user (show)

See Also:
thatnitind: review+


Attachments
patch (7.09 KB, patch)
2011-07-14 13:57 EDT, Nick Sandonato CLA
no flags Details | Diff

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