Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 979 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 979 Bytes

This project will contain tools to help pilot the popHealth project. This includes tools to:

  • Validate a HITSP C32 using XML Schema and Schematron rules
  • POST documents into the popHealth web application

Setup

This project needs to be run using JRuby. This allows for easy XML schema validation and running XSLT on any platform. This project also uses Saxon. To make sure that you can run the code correctly, you must set a CLASSPATH environment variable to ensure that Saxon is loaded into the execution environment. This can be done by issuing the following command:

export CLASSPATH=jars/saxon9.jar:jars/saxon9-dom.jar:jars/commons-codec-1.4.jar:jars/commons-logging-1.1.1.jar:jars/httpclient-4.1.1.jar:jars/httpclient-cache-4.1.1.jar:jars/httpcore-4.1.jar:jars/httpmime-4.1.1.jar:jars

Testing

This project has a very basic test suite that relies on Test::Unit. It can be run with

rake test