Downloads / XML Validator Tool
DataShop can import xml files of transaction data which conform to the logging standard. While the import process can only be done by DataShop developers, you should first run this tool against your xml files to verify that they are valid xml and comform to the DTD.
- DS_xv_2007_1112.zip (1,648 KB)
To validate that your XML files:
- Download the ZIP file above and extract its contents to your hard disk.
- Place all of the .jar files found in the /dist directory on your classpath including the current directory.
- At a command prompt, enter the following on a single line:
java -Xmx512m edu.cmu.pslc.datashop.xml.validator.XMLValidator \ -inputDir path/to/files_to_validatewherepath/to/files_to_validateis the path to the directory of XML files to validate.The validator tool will run and provide information about the validity of the XML files. Results from the verification are printed to the console and to an output text file called datashop-verify.log.
For more information about what constitutes 'validity', see the documentation on the DTD.