This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathElmah.xsd
158 lines (158 loc) · 7.19 KB
/
Elmah.xsd
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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://Elmah.Configuration" elementFormDefault="qualified" targetNamespace="http://Elmah.Configuration" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="elmah">
<xs:complexType>
<xs:all>
<xs:element name="security" type="securityCT" minOccurs="0" maxOccurs="1" />
<xs:element name="errorMail" type="errorMailCT" minOccurs="0" maxOccurs="1" />
<xs:element name="errorLog" type="errorLogCT" minOccurs="0" maxOccurs="1" />
<xs:element name="errorFilter" type="errorFilterCT" minOccurs="0" maxOccurs="1" />
</xs:all>
</xs:complexType>
</xs:element>
<xs:complexType name="securityCT">
<xs:attribute name="allowRemoteAccess" use="optional" type="xs:boolean" />
</xs:complexType>
<xs:complexType name="errorMailCT">
<xs:attribute name="to" type="xs:string" />
<xs:attribute name="from" type="xs:string" />
<xs:attribute name="cc" type="xs:string" />
<xs:attribute name="subject" type="xs:string" />
<xs:attribute name="priority">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="normal" />
<xs:enumeration value="high" />
<xs:enumeration value="low" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="async" type="xs:boolean" />
<xs:attribute name="smtpServer" type="xs:string" />
<xs:attribute name="smtpPort" type="xs:int" />
<xs:attribute name="userName" type="xs:string" />
<xs:attribute name="password" type="xs:string" />
<xs:attribute name="noYsod" type="xs:boolean" />
<xs:attribute name="useSsl" type="xs:boolean" />
</xs:complexType>
<xs:complexType name="errorLogCT">
<xs:attribute name="type" type="errorLogTypeEx" use="required" />
<xs:attribute name="size" type="xs:int" />
<xs:attribute name="logPath" type="xs:string" />
<xs:attribute name="connectionString" type="xs:string" />
<xs:attribute name="connectionStringName" type="xs:string" />
<xs:attribute name="providerName" type="xs:string" />
<xs:attribute name="applicationName" type="xs:string" />
<xs:attribute name="logId" type="xs:string" />
<xs:attribute name="logIdKey" type="xs:string" />
<xs:attribute name="apiKey" type="xs:string" />
<xs:attribute name="apiKeyKey" type="xs:string" />
</xs:complexType>
<xs:simpleType name="errorLogType">
<xs:restriction base="xs:string">
<xs:enumeration value="Elmah.MemoryErrorLog, Elmah" />
<xs:enumeration value="Elmah.XmlFileErrorLog, Elmah" />
<xs:enumeration value="Elmah.SqlErrorLog, Elmah" />
<xs:enumeration value="Elmah.AccessErrorLog, Elmah" />
<xs:enumeration value="Elmah.OracleErrorLog, Elmah" />
<xs:enumeration value="Elmah.SQLiteErrorLog, Elmah" />
<xs:enumeration value="Elmah.VistaDBErrorLog, Elmah" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="errorLogTypeEx">
<xs:union memberTypes="errorLogType xs:string"/>
</xs:simpleType>
<xs:complexType name="errorFilterCT">
<xs:sequence minOccurs="0" maxOccurs="1">
<xs:element name="test" type="testType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="testType">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:group ref="assertionGroup" />
</xs:choice>
</xs:complexType>
<xs:group name="assertionGroup">
<xs:choice>
<xs:element name="equal" type="valueCheck" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="not-equal" type="valueCheck" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="greater" type="valueCheck" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="greater-or-equal " type="valueCheck" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="lesser" type="valueCheck" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="lesser-or-equal" type="valueCheck" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="is-type" type="typeCheck" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="is-type-compatible" type="typeCheck" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="regex" type="regexCheck" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="jscript" type="jscriptAssertion" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="or" type="compositeAssertion" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="and" type="compositeAssertion" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="not" type="compositeAssertion" minOccurs="0" maxOccurs="unbounded" />
</xs:choice>
</xs:group>
<xs:complexType name="compositeAssertion">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:group ref="assertionGroup" />
</xs:choice>
</xs:complexType>
<xs:complexType name="jscriptAssertion">
<xs:all minOccurs="1" maxOccurs="1">
<xs:element name="expression" />
</xs:all>
</xs:complexType>
<xs:complexType name="valueCheck">
<xs:attribute name="binding" type="bindingExpressionEx" >
<xs:annotation>
<xs:documentation>Same expression and syntax you specify to the Eval method when data-binding within the server-side markup of ASP.NET pages and user controls.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string" />
<xs:attribute name="type" type="typeCodeEx" />
</xs:complexType>
<xs:complexType name="typeCheck">
<xs:attribute name="binding" type="xs:string" />
<xs:attribute name="type" type="xs:string" />
</xs:complexType>
<xs:complexType name="regexCheck">
<xs:attribute name="binding" type="xs:string" />
<xs:attribute name="pattern" type="xs:string" />
</xs:complexType>
<xs:simpleType name="bindingExpression">
<xs:restriction base="xs:string">
<xs:enumeration value="Exception" />
<xs:enumeration value="BaseException" />
<xs:enumeration value="HttpStatusCode" />
<xs:enumeration value="Context" />
<xs:enumeration value="FilterSource" />
<xs:enumeration value="FilterSourceType" />
<xs:enumeration value="FilterSourceAssemblyName" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="bindingExpressionEx">
<xs:union memberTypes="bindingExpression xs:string"/>
</xs:simpleType>
<xs:simpleType name="typeCode">
<xs:restriction base="xs:string">
<xs:enumeration value="Boolean" />
<xs:enumeration value="Byte" />
<xs:enumeration value="Char" />
<xs:enumeration value="DateTime" />
<xs:enumeration value="DBNull" />
<xs:enumeration value="Decimal" />
<xs:enumeration value="Double" />
<xs:enumeration value="Empty" />
<xs:enumeration value="Int16" />
<xs:enumeration value="Int32" />
<xs:enumeration value="Int64" />
<xs:enumeration value="Object" />
<xs:enumeration value="SByte" />
<xs:enumeration value="Single" />
<xs:enumeration value="String" />
<xs:enumeration value="UInt16" />
<xs:enumeration value="UInt32" />
<xs:enumeration value="UInt64" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="typeCodeEx">
<xs:union memberTypes="typeCode xs:string"/>
</xs:simpleType>
</xs:schema>