forked from Taritsyn/JavaScriptEngineSwitcher
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJavaScriptEngineSwitcher.Configuration.xsd
More file actions
189 lines (181 loc) · 7.34 KB
/
JavaScriptEngineSwitcher.Configuration.xsd
File metadata and controls
189 lines (181 loc) · 7.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?xml version="1.0" encoding="utf-8"?>
<xs:schema
id="javaScriptEngineSwitcherConfiguration"
targetNamespace="http://tempuri.org/JavaScriptEngineSwitcher.Configuration.xsd"
elementFormDefault="qualified"
xmlns="http://tempuri.org/JavaScriptEngineSwitcher.Configuration.xsd"
xmlns:mstns="http://tempuri.org/JavaScriptEngineSwitcher.Configuration.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="jsEngineSwitcher">
<xs:annotation>
<xs:documentation>Configuration settings of JavaScript Engine Switcher</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<xs:element name="core" type="CoreConfiguration_SchemaType" minOccurs="0" maxOccurs="1" />
<xs:element name="msie" type="MsieConfiguration_SchemaType" minOccurs="0" maxOccurs="1" />
<xs:element name="v8" type="V8Configuration_SchemaType" minOccurs="0" maxOccurs="1" />
</xs:all>
</xs:complexType>
</xs:element>
<!-- Simple types -->
<xs:simpleType name="Boolean_SchemaType">
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="true" />
<xs:enumeration value="false" />
</xs:restriction>
</xs:simpleType>
<!-- /Simple types -->
<!-- Core configuration settings -->
<xs:complexType name="CoreConfiguration_SchemaType">
<xs:annotation>
<xs:documentation>Configuration settings of core</xs:documentation>
</xs:annotation>
<xs:all>
<xs:element name="engines" type="JsEngineRegistrationList_SchemaType" minOccurs="0" maxOccurs="1" />
</xs:all>
<xs:attribute name="defaultEngine" type="xs:string" use="optional" default="">
<xs:annotation>
<xs:documentation>Name of default JavaScript engine</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="JsEngineRegistrationList_SchemaType">
<xs:annotation>
<xs:documentation>List of registered JavaScript engines</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="add" type="AddJsEngineRegistration_SchemaType" />
<xs:element name="remove" type="RemoveJsEngineRegistration_SchemaType" />
<xs:element name="clear" type="ClearJsEngineRegistration_SchemaType" />
</xs:choice>
</xs:complexType>
<xs:complexType name="AddJsEngineRegistration_SchemaType">
<xs:annotation>
<xs:documentation>Adds JavaScript engine registration</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>JavaScript engine name</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>JavaScript engine .NET-type name</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="RemoveJsEngineRegistration_SchemaType">
<xs:annotation>
<xs:documentation>Removes JavaScript engine registration</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>JavaScript engine name</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ClearJsEngineRegistration_SchemaType">
<xs:annotation>
<xs:documentation>Removes all JavaScript engine registrations, that specified above</xs:documentation>
</xs:annotation>
</xs:complexType>
<!--/ Core configuration settings -->
<!-- MSIE configuration settings -->
<xs:complexType name="MsieConfiguration_SchemaType">
<xs:annotation>
<xs:documentation>Configuration settings of MSIE JavaScript engine</xs:documentation>
</xs:annotation>
<xs:attribute name="engineMode" use="optional" default="Auto">
<xs:annotation>
<xs:documentation>JavaScript engine mode</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Auto">
<xs:annotation>
<xs:documentation>Automatically selects the most modern JavaScript engine from available on the machine</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Classic">
<xs:annotation>
<xs:documentation>Classic MSIE JavaScript engine (supports ECMAScript 3 with possibility of using the ECMAScript 5 Polyfill and the JSON2 library). Requires Internet Explorer 6 or higher on the machine.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ChakraActiveScript">
<xs:annotation>
<xs:documentation>ActiveScript version of Chakra JavaScript engine (supports ECMAScript 3 with possibility of using the ECMAScript 5 Polyfill and the JSON2 library). Requires Internet Explorer 9 or higher on the machine.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="ChakraJsRt">
<xs:annotation>
<xs:documentation>JsRT version of Chakra JavaScript engine (supports ECMAScript 5). Requires Internet Explorer 11 or higher on the machine.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<!--/ MSIE configuration settings -->
<!-- V8 configuration settings -->
<xs:complexType name="V8Configuration_SchemaType">
<xs:annotation>
<xs:documentation>Configuration settings of V8 JavaScript engine</xs:documentation>
</xs:annotation>
<xs:attribute name="enableDebugging" type="Boolean_SchemaType" use="optional" default="false">
<xs:annotation>
<xs:documentation>Flag for whether to enable script debugging features</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="debugPort" use="optional" default="9222">
<xs:annotation>
<xs:documentation>TCP/IP port on which to listen for a debugger connection</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="0" />
<xs:maxInclusive value="65535" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="disableGlobalMembers" type="Boolean_SchemaType" use="optional" default="false">
<xs:annotation>
<xs:documentation>Flag for whether to disable global members</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxNewSpaceSize" use="optional" default="0">
<xs:annotation>
<xs:documentation>Maximum size of the new object heap in bytes</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="0" />
<xs:maxInclusive value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="maxOldSpaceSize" use="optional" default="0">
<xs:annotation>
<xs:documentation>Maximum size of the old object heap in bytes</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="0" />
<xs:maxInclusive value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="maxExecutableSize" use="optional" default="0">
<xs:annotation>
<xs:documentation>Maximum size of the executable code heap in bytes</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="0" />
<xs:maxInclusive value="2147483647" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<!--/ V8 configuration settings -->
</xs:schema>