Giter VIP home page Giter VIP logo

csl-validator's Introduction

CSL Validator

The CSL Validator is released under the MIT license.

csl-validator's People

Contributors

adam3smith avatar fbennett avatar rmzelle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

csl-validator's Issues

Validation against 1.0.1 fails currently

I've just tried validating a style against the 1.0.1 schema, and I'm getting this error:

Validation failed: HTTP resource not retrievable. The HTTP status from the remote server was: 404.

Validator does not fail reused macro names

Reused macro names pass with flying colours. Testing it out, citeproc-js uses the first definition, but the validator should flag reuse, else this could lead to some head scratching...

image

File upload input box persistence

This may be what you mentioned earlier, not sure. After uploading a local file to the validator, if you refresh the page in the browser, the selection persists in history (it still says "File Upload"), but the button is replaced with an input field (I guess for the URL). The button should also persist.

Make it easier to follow CSL repository requirements

Now that we have http://formatter.citationstyles.org/ (https://github.com/citation-style-language/formatter), which reformats styles similar to https://github.com/citation-style-language/utilities/blob/master/csl-reindenting-and-info-reordering.py, and allows validation against the stricter https://github.com/citation-style-language/schema/blob/master/csl-repository.rnc, I'm wondering what the best workflows would be to guide users towards a style submission.

I could keep http://validator.citationstyles.org/ as the landing page. When a user tests a style that doesn't generate validation errors, we currently provide a link to https://github.com/citation-style-language/styles/blob/master/CONTRIBUTING.md. We could replace this with a link to a wizard/form that helps the user follow https://github.com/citation-style-language/styles/wiki/Style-Requirements. We can also offer validation results against csl-repository.rnc, and show a textarea box with the reformatted style, and perhaps a download button to save it to disk.

I know @fbennett already played with a way to directly create a GitHub pull request from a webpage, but that seems like a later worry.

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.