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)

head
x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

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 ]
Status: NEW → ASSIGNED
Assignee: nobody → inonit
Status: ASSIGNED → NEW
Checking in fix on HEAD that passes the above test.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
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.