Howdee, I am trying to setup a local copy of ODF Validator which can be run from the command line. I am planning to integrate the current version of ODF Validator as a test performed by OfficeShots.
I have been trying to follow the instructions from http://incubator.apache.org/odftoolkit/conformance/ODFValidator.html The above page makes reference to odfvalidator.jar but the closest thing I have found so far is odfvalidator-1.1.7-incubating.war. Is there an easy way to use the later web service to validate an ODF file from the command line? Sorry for the FAQ fodder, I'm not a Java programmer so don't know if there is a face palm solution to using a war file that way. Jar doesn't seem to want to execute it from the command line :/ I also notice that the link in the Source Code section at the bottom of the page gives a 404. I think I have collected all the required dependencies for building ODF Validator; $ ferrisls -lh --show-ea=md5,size-human-readable,name ad4c94a150af5853d5b1f565039d1e41 11.3k isorelax-jaxp-bridge-1.0.jar 30ff8d4a6d1bce31903e39116c008b4a 142.5k isorelax.jar 988483ee7b39d43936f9745756b46898 661.1k msv.jar f9ad259ef4e586bb71b45dcafffd9b60 3.3M odfdom-java-0.8.10- incubating.jar f9ad259ef4e586bb71b45dcafffd9b60 3.3M odfdom.jar fd667fbdaf3190bdd8aee4e8e2d12d5c 18.8k relaxngDatatype.jar 43584adc1f895628055bad0aa98a1007 1.3M xercesImpl.jar b633e05f6caff2d1bcda7f17882ccaba 213.4k xsdlib.jar I have tried to build with the following. Again, sorry if I'm using Maven improperly, I'm still picking it up. Perhaps the above cited ODFValidator.html page could have a slightly expanded list item for how to kick off the build? $ mvn package [ERROR] Error fetching link: /.../odfvalidator/odftoolkit-0.6.1- incubating/odfdom/target/apidocs/package-list. Ignored it. [ERROR] Error fetching link: /.../odfvalidator/odftoolkit-0.6.1- incubating/xslt-runner/target/apidocs/package-list. Ignored it. ... [INFO] ODF Validator ...................................... SKIPPED ... I am happy to send through the build log or interesting fragments from it if that might be informative. Any hints are greatly appreciated. If there was a binary release I could use that would be wonderful. The more information I can show about how ODF files are badly formed the better for all!
