| Summary: | [parser] < or > in attribute values are not supported | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Nick Sandonato <nsand.dev> | ||||||||||||
| Component: | jst.jsp | Assignee: | Nick Sandonato <nsand.dev> | ||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||||||||||
| Severity: | normal | ||||||||||||||
| Priority: | P3 | CC: | David.Wagner, ruisj | ||||||||||||
| Version: | 3.0.5 | Flags: | thatnitind:
review+
|
||||||||||||
| Target Milestone: | 3.2.1 | ||||||||||||||
| Hardware: | PC | ||||||||||||||
| OS: | Windows XP | ||||||||||||||
| Whiteboard: | WI 49464 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Nick Sandonato
Created attachment 171481 [details]
patch
Tokenizer updates.
Created attachment 171484 [details]
unit test updates
Have to update some of the unit tests.
Are you sure about the XML changes? I thought this should only apply to HTML and maybe JSP. (In reply to comment #3) > Are you sure about the XML changes? I thought this should only apply to HTML > and maybe JSP. While it does only apply to HTML and JSP, this does have some positives for XML. Instead of the tokenizer getting confused for a < or > in attribute values, it recovers and the attribute value region remains intact. The validator will then identify that the < or > is invalid in an XML. Created attachment 171936 [details]
tweaked patch
Removed the unnecessary assignment of 'fShouldLoadBuffered = true;'
Created attachment 171965 [details]
updated unit tests
Had to fix up some of the HTML unit tests and added some new ones.
Created attachment 171967 [details]
updated unit tests
Code released to Maintenance and HEAD *** Bug 112807 has been marked as a duplicate of this bug. *** *** Bug 258676 has been marked as a duplicate of this bug. *** |