History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: ASC-2214
Type: Bug Bug
Status: Resolved Resolved
Resolution: Deferred
Priority: B B
Assignee: ssubrama
Reporter: ssubrama
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ActionScript Compiler (ASC)

'&' inside a xml string is not handled correctly

Created: 10/30/06 09:10 AM   Updated: Monday 09:25 AM
Component/s: E4X
Security Level: Public (All JIRA Users )

Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: Medium
Found in Version: Flex 3 - Beta 1 - AVMPLUS_1_0_0_d682
Milestone: Future
Affected OS(s): All OS Platforms - All
Steps to Reproduce:
Test Case:
1. print(<title>big & tall</title>.toXMLString());
3. print(<title>big&tall</title>.toXMLString());
4. print(<title>big &sep; tall</title>.toXMLString());
5. print(new XML("<?xml version=\"1.0\" standalone='yes'?><!DOCTYPE title [<!ENTITY sep \"and\"> ]><title>big &sep;tall</title>").toXMLString())


Actual Results:
1. <title>big &amp; tall</title>
3. <title>big&amp;tall</title>
4. <title>big &amp;sep; tall</title>
5. <title>big &amp;sep;tall</title>

Expected Results:
1.Error -- Illegal character or entity reference syntax.
3. Error -- Next character must be ";" terminating reference to entity "tall".
4.Error -- Reference to undefined entity "&sep;".
5. <title>big and tall</title>




        

        

        

        
Language Found: English
Bugbase Id: 189772
Needs Release Note: No
Triaged: Yes
Regression: No
QA Owner: Chris Peyer
Resolved by: Trevor Baker
Participants: BugDB Migration, JIRA Migration Admin, ssubrama and Trevor Baker


 All   Comments      Sort Order:
JIRA Migration Admin - [06/04/07 12:32 PM ]
Move from BugDB issue number 189772

JIRA Migration Admin - [06/04/07 12:32 PM ]
Milestone ID = 1498
Milestone = Flex 3 - Beta 1
Build ID = 22552
Build = AVMPLUS_1_0_0_d682
Fix Build ID = null
Fix Build = null

Trevor Baker - [06/29/09 09:25 AM ]
deferring to future milestone