Skip to main content

๐Ÿ‘ฎ Validation of PCDH files

Why ?โ€‹

  • Check if XML files are valid PCDH messages ?
info

This project does it on each git change : XML Validations ( Source code )

Prerequisitesโ€‹

sudo apt-get update -qq
sudo apt-get install -y libxml2-utils

Stepsโ€‹

  1. Download & unzip your soa-farmaflux XSD files
  2. Check if XML file is valid KMEHR file, by running a command similar to this one :
xmllint --catalogs --noout --schema ./soa-farmaflux/maindoc/single-message-oa-1.0.xsd ./path/to/your/file/test-PCDH.xml
  1. If it is valid, you will receive a status 0 of this command. Otherwise, you have an error somewhere ...