Code Monkey home page Code Monkey logo

Comments (5)

luigiberrettini avatar luigiberrettini commented on May 26, 2024

@304NotModified do you think it would be a good idea to publish custom target XSD schemas, via PRs, under the schemas folder of your NLog site repo so that they will all have the url http://nlog-project.org/schemas/*.xsd?

from nlog.targets.syslog.

304NotModified avatar 304NotModified commented on May 26, 2024

Yes I like that idea!

Think we need to add the version also in the URL/filename?

from nlog.targets.syslog.

luigiberrettini avatar luigiberrettini commented on May 26, 2024

It would be useful if we used different versions for the schema and the target NuGet, but usually, as NLog and the Syslog target do, the schema NuGet version is updated to match the related software NuGet version, even if there are no changes.
This would require creating a lot of PR to your NLog site repo @304NotModified, therefore I suggest not appending the version to XSD files published in your schemas folder.

from nlog.targets.syslog.

304NotModified avatar 304NotModified commented on May 26, 2024

hi @luigiberrettini

I think users should use

<nlog xmlns="http://nlog-project.org/schemas/NLog.Targets.Syslog.xsd"       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

Am I correct? Maybe we should update the example on readme

from nlog.targets.syslog.

luigiberrettini avatar luigiberrettini commented on May 26, 2024

This should be the correct set of XMLNSs:

<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:sl="http://www.nlog-project.org/schemas/NLog.Targets.Syslog.xsd">

from nlog.targets.syslog.

Related Issues (20)

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.