Closed
Bug 378580
Opened 18 years ago
Closed 18 years ago
Runtime error when Rhino E4X attribute expression evaluates to empty string
Categories
(Rhino Graveyard :: E4X, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.6R6
People
(Reporter: inonit, Assigned: inonit)
Details
Rhino 1.6 release 6 Pre 2007 04 06
js> var attribute = "";
js> var element = <x a={attribute}/>
[Fatal Error] :1:25: Element type "x" must be followed by either attribute specifications, ">" or "/>".
js: "<stdin>", line 3: uncaught JavaScript runtime exception: TypeError: Cannot parse XML: Element type "x" must be followed by either attribute specifications, ">" or "/>".
js> var attribute = "a";
js> var element = <x a={attribute}/>
[ no error ]
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → inonit
Status: ASSIGNED → NEW
Assignee | ||
Comment 1•18 years ago
|
||
Checking in fix on HEAD that passes the above test.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 2•18 years ago
|
||
Adding target milestone of 1.6R6 based on the date this bug was resolved FIXED.
Target Milestone: --- → 1.6R6
You need to log in
before you can comment on or make changes to this bug.
Description
•