4-Step NewsML-G2 + XHTML5 + Microdata + NITF Validator
How it works
The validation is performed in three independent steps:
- NewsML-G2 validation based on the XSD provided by IPTC.
- XHTML validation of the inlineXML embedded XHTML document withing the NewsML-G2 contentSet, using XML schemas for XHTML1 and XHTML5
- Validation of microdata, embedded within the XHTML document, using Google Structured Data Testing Tool https://developers.google.com/structured-data/testing-tool/
- Validation of NITF embedded into inlineXML elements
Validation without using the graphical interface can be done by sending a POST request, containing the NewsML-G2 document in the POST body to the same URL as this page.
Alternative validation services
You can choose between a couple of services to validate HTML5 and Microdata. Please remember to add the right doctype definition to your XHTML document in order to make the validator recognize this is a polyglot HTML5 document ()
###Microdata validation https://developers.google.com/structured-data/testing-tool, Google Testing Tool, https://webmaster.yandex.com/microtest.xml, Yandex Structured Data Validator http://www.bing.com/toolbox/markup-validator, Bing Markup Validator
##Want to Contribute? Feel free to checkout the project, improve it and send me a pull request.
Dependencies: HTTP server running PHP
bower install from the root directory
git submodule init +
git submodule update to install the XHTML validation XSD's