Closed
Bug 535882
Opened 16 years ago
Closed 16 years ago
XMLParser incorrectly converts attribute values containing entities
Categories
(Tamarin Graveyard :: Virtual Machine, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
flash10.1
People
(Reporter: jasowill, Assigned: stejohns)
Details
Attachments
(2 files)
|
265 bytes,
patch
|
wsharp
:
review+
|
Details | Diff | Splinter Review |
|
2.52 KB,
patch
|
dschaffe
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6
Build Identifier:
Given the following XML:
<KeyFrame name="&kColor_TextEditTextFieldOutlineNormalEnd;" t="0.0" v="&kTextEditInnerShadow_DarkV;" />
In FP10/AIR 1.5 these would come out like this after parsing:
<KeyFrame name="&kColor_TabContent;" v="0.76"/>
Recent changes in XMLparser16 caused these to look like this:
<KeyFrame name=";" v="0.76"/>
This is a problem for all entities even those like 
Reproducible: Always
Steps to Reproduce:
1. Take the XML provided in the detailed description and use the XML API to parse it.
2. The attributes on a node will incorrectly report the value.
Actual Results:
<KeyFrame name=";" v="0.76"/>
Expected Results:
<KeyFrame name="&kColor_TabContent;" v="0.76"/>
| Reporter | ||
Comment 1•16 years ago
|
||
| Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 418439 [details] [diff] [review]
Suggested fix for XMLparser bug
Arbitrarily adding Werner as reviewer, as he has the most XML-fu
Attachment #418439 -
Attachment is patch: true
Attachment #418439 -
Flags: review?(wsharp)
Updated•16 years ago
|
Attachment #418439 -
Flags: review?(wsharp) → review+
| Assignee | ||
Comment 3•16 years ago
|
||
pushed as changeset: 3372:5f47dde87fa6
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Flags: in-testsuite?
Comment 5•16 years ago
|
||
Attachment #424904 -
Flags: review?(dschaffe)
Updated•16 years ago
|
Attachment #424904 -
Flags: review?(dschaffe) → review+
Comment 6•16 years ago
|
||
regression testcase added changeset 3728:848783d698c5
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•