Closed
Bug 301573
Opened 20 years ago
Closed 20 years ago
E4X: Problems with entities
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.8beta4
People
(Reporter: Seno.Aiko, Assigned: brendan)
Details
(Keywords: js1.5)
Attachments
(1 file)
|
2.23 KB,
patch
|
brendan
:
review+
brendan
:
approval1.8b4+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/3.04 (WinNT; I)
Build Identifier: Up-to-date JS debug shell
This seems wrong:
js> <xml><</xml>
typein:1: SyntaxError: illegal XML character:
typein:1: <parent xmlns=''><xml><</xml></parent>
typein:1: .......................^
js> <xml>&lt;</xml>
<
js> <xml>&</xml>
typein:3: SyntaxError: unexpected end of XML entity:
typein:3: <parent xmlns=''><xml>&</xml></parent>
typein:3: ......................^
Expected output (as seen in Rhino) would be:
js> <xml><</xml>
<
js> <xml>&lt;</xml>
<
js> <xml>&</xml>
&
Reproducible: Always
Steps to Reproduce:
Comment 1•20 years ago
|
||
Confirmed. Note that the problem also occurs in XHTML documents within CDATA
sections so this can't be the HTML parser.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
| Assignee | ||
Comment 2•20 years ago
|
||
Ready to check in the fix I'm about to attach.
/be
| Assignee | ||
Comment 3•20 years ago
|
||
mrbkap r'd, to the extent he didn't write the patch (to which extent, I'm r'ing
his work ;-).
/be
Attachment #190054 -
Flags: review+
Attachment #190054 -
Flags: approval1.8b4+
| Assignee | ||
Comment 4•20 years ago
|
||
Fixed.
/be
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Flags: testcase?
Comment 6•20 years ago
|
||
Checking in regress-301573.js;
/cvsroot/mozilla/js/tests/e4x/Regress/regress-301573.js,v <-- regress-301573.js
Flags: testcase? → testcase+
You need to log in
before you can comment on or make changes to this bug.
Description
•