| Summary: | [content assist] JSP tags being suggested outside of root element node are provided in a hackish manor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Ian Tewksbury <itewksbu> | ||||
| Component: | wst.xml | Assignee: | wst.xml <wst.xml-inbox> | ||||
| Status: | NEW --- | QA Contact: | Nick Sandonato <nsand.dev> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | nsand.dev | ||||
| Version: | 3.2 | ||||||
| Target Milestone: | Future | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 311957, 311959 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Ian Tewksbury
Created attachment 167375 [details] Preliminary Fix This fix is based on the current patches for Bug 21197 and Bug 311959. This patch has been smoke tested as working and passes current JUnits. This patch will most likely have to be updated as Bug 21197 and Bug 311959 evolve. But in its-self this patch is simple. It just updates AbstractXMLModelQueryCompletionProposalComputer#getAvailableRootChildren to make a ModelQuery using the document as the root node along with existing functionality. This of course only works with the enhancements provided by Bug 21197 and Bug 311959. New JUnits for this bug will most likely not have to be written because the JUnits that are provided with the 'hackish' fix for Bug 197954 should thoroughly be testing this scenario already, all that will change is the manor in which the content assist contributions are made. |