Code Monkey home page Code Monkey logo

elmah-schema's People

Contributors

thomasardal avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

rolivares

elmah-schema's Issues

Support thirdparty errorlog implementations

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.).

Remove security, errorMail, errorLog and errorFilter from root?

@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 ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.