Closed Bug 602046 Opened 14 years ago Closed 6 years ago

eval: SyntaxError: avmfeatures.as:166: Syntax error: Invalid sequence starting with '/'

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: edwsmith, Unassigned)

References

Details

Eval appears to have trouble parsing the character '/' within XML text.
Blocks: 474014
Target Milestone: --- → Future
How exciting, the first bug reported against eval!
Assignee: nobody → lhansen
Status: NEW → ASSIGNED
I thought it would be fun to use eval to run core/avmfeatures.as, and even more fun to try to learn my way around the parser to fix this bug.  Too much fun for one night, as it turned out...
Summary: SyntaxError: avmfeatures.as:166: Syntax error: Invalid sequence starting with '/' → eval: SyntaxError: avmfeatures.as:166: Syntax error: Invalid sequence starting with '/'
Investigation notes so far: (more when I have time)

I tracked this down to the somewhat obvious problem in case '/': in Lexer::xmlAtomImpl().  Apparently the XML text is being parsed as an XML element, and '/' is not legal in element names or attribute names.  

I don't know if its simply a case that needs expanding, or if the lexer is in the wrong state -- scanning element text should be more forgiving than element names, just like scanning string literals (attribute values) is more forgiving.
Assignee: lhansen → nobody
Flags: flashplayer-qrb+
No assignee, updating the status.
Status: ASSIGNED → NEW
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.