Giter VIP home page Giter VIP logo

jats-validator's People

Contributors

dependabot-preview[bot] avatar hubgit avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jats-validator's Issues

Can't run validator from NIH network

I can't run the validator from NH. Thjis might be a problem for other users

"Formatting XML…
NetworkError when attempting to fetch resource."

Validator not working

Screenshot 2022-10-01 at 08 48 30

Hi there

I have received feedback from a user that the service is not working and I tested it, see screenshot of the response I received.

Is there a problem with the code that you can fix?

Thanks!

Melissa

Check the public ID against the list of supported DTDs

  1. Generate a JSON array of supported public IDs alongside the catalog file.
  2. Before attempting validation, load the XML file without DTD validation and check the public ID against the list of supported DTDs, giving a useful error message if it's not supported.

Errors are reporting as Warnings

The tests that I did get to report are assigning ERROR as WARNING. Do I need to separate those in the jats4r.sch again? I may have oversimplified things - relying on the ERROR/WARNING indicator in the messages (that we removed).

Specifically when country/@Country is not a 2-letter string or the attribute is not included.

I will add test files for this and other tests (errors and warnings) that we can use going forward. I'll put these in jats-schematrons/samples

Add URI prefix to catalog

It should be possible to validate a doctype like <!DOCTYPE article SYSTEM "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd">, by mapping the prefix http://jats.nlm.nih.gov/publishing/ to the schema folder.

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.