项目作者: JATS4R

项目描述 :
JATS4R Schematron validation as a web service
高级语言: JavaScript
项目地址: git://github.com/JATS4R/jats-validator.git
创建时间: 2019-04-18T22:05:41Z
项目社区:https://github.com/JATS4R/jats-validator

开源协议:

下载


jats-validator is a set of web services that take an XML document (as the xml field of a multipart/form-data POST request) and return the following:

  • /format: the input XML document, indented and cleaned up (entities replaced, CDATA removed, etc).
  • /dtd: a JSON object containing the results of validating the input against the DTD specified in the file’s doctype. Network requests are disabled, and the DTD is loaded from the @jats4r/dtds module.
  • /schematron: a JSON object containing the results of validating the input against the JATS4R Schematron rules. The schematron rules are loaded from the @jats4r/schematrons module.

The server runs as a lambda function when deployed for production, and can be run locally with now dev for development.