Hi,
I based my ZUGFeRD validation plugin (https://github.com/ZUGFeRD/ZUV) for veraPDF 1.6.3 on the embeddedFilesSample plugin in.
I'd now like to perform the actual validation against the ZUGFeRD schematron, more precisely against the generated XSL file.
I included ph-schematron as dependency, which will throw me noClassFound-Runtime exceptions if I only include it in the pom. I tried to solve that by shading the apparently required classes into the JAR. The issue is: if I do, I will inevitably run into a Nullpointerexception.
I left one comment in the pom.xml and two in src/main/java/ZUV/ZUGFeRDExtractor.java in the current master [37794a4] which, if removed, should perform the validation but previously run into the NullPointerException at org.verapdf.processor.FeaturesPluginsLoader.initializeExtractor(FeaturesPluginsLoader.java:132) .
Can someone please help? Is veraPDF using ph-schematron as well? If there was a way to invoke the veraPDF schematron validation functionality from within a plugin that would remove some redundancy and my plugin would shrink in size.
thanks and kind regards Jochen