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
117 lines (111 loc) · 4.76 KB
/
JavaScriptEngineSwitcher.Configuration.xsd
File metadata and controls
117 lines (111 loc) · 4.76 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
<?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:all>
</xs:complexType>
</xs:element>
<!-- 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 -->
</xs:schema>