Closed Bug 535882 Opened 16 years ago Closed 16 years ago

XMLParser incorrectly converts attribute values containing entities

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
flash10.1

People

(Reporter: jasowill, Assigned: stejohns)

Details

Attachments

(2 files)

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="&amp;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 &#xd; 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="&amp;kColor_TabContent;" v="0.76"/>
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)
Attachment #418439 - Flags: review?(wsharp) → review+
pushed as changeset: 3372:5f47dde87fa6
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee: nobody → stejohns
Target Milestone: --- → flash10.1
Flags: in-testsuite?
Verified fixed TR 3706
Status: RESOLVED → VERIFIED
Attachment #424904 - Flags: review?(dschaffe)
Attachment #424904 - Flags: review?(dschaffe) → review+
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.

Attachment

General

Creator:
Created:
Updated:
Size: