Proper CompilerEnvirons.isXmlAvailable()

RESOLVED FIXED in 1.6R1

Status

Rhino
Core
RESOLVED FIXED
14 years ago
14 years ago

People

(Reporter: Igor Bukanov, Assigned: Igor Bukanov)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

14 years ago
Currently CompilerEnvirons.isXmlAvailable() always return true ignoring
Context.FEATURE_E4X flag. The method should return proper result and the class
should also provide a public setter to allow to customize CompilerEnvirons
without using Context instance, for example, when using ClassCompiler.
(Assignee)

Comment 1

14 years ago
Created attachment 156663 [details] [diff] [review]
Fix: check for Context.FEATURE_E4X and provide public setters

The patch implements sensitivity to Context.FEATURE_E4X and adds missing public
getters and setters for xmlAvailable, reservedKeywordAsIdentifier and
allowMemberExprAsFunctionName.
(Assignee)

Comment 2

14 years ago
I committed the fix
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.5R6
You need to log in before you can comment on or make changes to this bug.