elmahio / elmah-schema Goto Github PK
View Code? Open in Web Editor NEWThe home for the XML schema providing IntelliSense, validation and more for ELMAH XML configuration
Home Page: https://elmah.io
License: Apache License 2.0
The home for the XML schema providing IntelliSense, validation and more for ELMAH XML configuration
Home Page: https://elmah.io
License: Apache License 2.0
The current schema supports configuration of the errorlog implementations delivered with ELMAH only. It would be nice to have a schema that would support third party implementations as well (like contribs, elmah.io etc.).
@atifaziz You may remember, that I moved the XML scheme you did, from this issue: elmah/Elmah#239. I've stumbled upon something that may be an issue.
In the schema, we find the following:
<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:element name="security" type="securityCT" />
<xs:element name="errorMail" type="errorMailCT" />
<xs:element name="errorLog" type="errorLogCT" />
<xs:element name="errorFilter" type="errorFilterCT" />
<xs:complexType name="securityCT">
<xs:attribute name="allowRemoteAccess" use="optional" type="xs:boolean" />
</xs:complexType>
...
The first part tells us that we can have the following construct:
<configuration>
<elmah>
<security ... />
<errorMail ... />
<errorLog ... />
<errorFilter ... />
</elmah>
</configuration>
But having these repeated in the root:
<xs:element name="security" type="securityCT" />
<xs:element name="errorMail" type="errorMailCT" />
<xs:element name="errorLog" type="errorLogCT" />
<xs:element name="errorFilter" type="errorFilterCT" />
would allow for this:
<configuration>
<security ... />
<errorMail ... />
<errorLog ... />
<errorFilter ... />
</configuration>
Do you remember if there is a reason for repeating the four elements. In my head, they only make sense within an <elmah>
element ๐
ELMAH configuration XML Schema file originally created by @atifaziz
I never created this. Credit goes to JeffLingis
and davidadarman
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.