export-validation/README | 4 ++++ export-validation/odfvalidator | 3 +++ export-validation/officeotron | 3 +++ 3 files changed, 10 insertions(+)
New commits: commit e94ee6b8c3f732194c72c0fdb796483a5ee39201 Author: Markus Mohrhard <[email protected]> Date: Wed Mar 19 01:45:32 2014 +0100 add example scripts for export validation diff --git a/export-validation/README b/export-validation/README new file mode 100644 index 0000000..d97aea1 --- /dev/null +++ b/export-validation/README @@ -0,0 +1,4 @@ +We use ODF Validator for ODF export validation and officeotron for OOXML export validation. + +Both tools should be available through a wrapper script that is in the path and is called officeotron respectively +odfvalidator and should have a form similar to the ones of the two scripts in this directory. diff --git a/export-validation/odfvalidator b/export-validation/odfvalidator new file mode 100755 index 0000000..e93a54c --- /dev/null +++ b/export-validation/odfvalidator @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +java -Djavax.xml.validation.SchemaFactory:http://relaxng.org/ns/structure/1.0=org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl -Dorg.iso_relax.verifier.VerifierFactoryLoader=com.sun.msv.verifier.jarv.FactoryLoaderImpl -jar /devel/odfvalidator/odf/validator/target/odfvalidator-1.1.7-incubating-SNAPSHOT-jar-with-dependencies.jar -e $1 diff --git a/export-validation/officeotron b/export-validation/officeotron new file mode 100755 index 0000000..7f4c969 --- /dev/null +++ b/export-validation/officeotron @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +java -jar /devel/officeotron/officeotron-read-only/dist/officeotron.jar $1 _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
