| Summary: | JSP Editor shows false error when <h:commandButton> has value="<" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Nick Sandonato <nsand.dev> | ||||
| Component: | jst.jsp | Assignee: | Nick Sandonato <nsand.dev> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nick Sandonato <nsand.dev> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | carlin.rogers, jim, nsand.dev, raghunathan.srinivasan, thatnitind | ||||
| Version: | 3.2.3 | Flags: | nsand.dev:
pmc_approved?
(david_williams) raghunathan.srinivasan: pmc_approved+ nsand.dev: pmc_approved? (naci.dai) nsand.dev: pmc_approved? (deboer) nsand.dev: pmc_approved? (neil.hauge) nsand.dev: pmc_approved? (kaloyan) nsand.dev: pmc_approved? (cbridgha) |
||||
| Target Milestone: | 3.3 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | PMC_approved | ||||||
| Attachments: |
|
||||||
|
Description
Nick Sandonato
Created attachment 195791 [details]
patch
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. Valid characters in HTML markup are causing tokenizer problems that result in an improperly formed DOM and confusing validation messages despite the JSP executing properly on the server. * Is there a work-around? If so, why do you believe the work-around is insufficient? Yes. Characters inserted after a < (e.g., "<<" or "< "). Either way, we'd be dictating how a developer writes his/her markup when the original form was perfectly valid. In the case of adding text afterwards, we're changing the actual value (unless of course < is used). * How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? Ad hoc testing and a new JUnit test. * Give a brief technical overview. Who has reviewed this fix? The token being returned for the end quote was not of the same type as the start quote (these differ based on if it's a JSP tag or not). To correct this, the end quote type is determined based on the same rules we use to determine the start quote type. What is the risk associated with this fix? Minor. Thanks for addressing this issue. Thanks, Raghu. Changes released. Resolving. |