File tree Expand file tree Collapse file tree
validation-model/src/main/java/org/verapdf/gf/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,10 +208,10 @@ private static PDFAFlavour detectPDFAFlavour(VeraPDFMeta veraPDFMeta) {
208208
209209 private static List <PDFAFlavour > detectWTPDFFlavour (VeraPDFMeta veraPDFMeta ) {
210210 List <PDFAFlavour > wtpdfFlavours = new LinkedList <>();
211- if (veraPDFMeta .containsDeclaration ("http://pdfa.org/declarations/wtpdf#accessibility1.0" )) {
211+ if (veraPDFMeta .containsDeclaration (VeraPDFMeta . WTPDF_ACCESSIBILITY_DECLARATION )) {
212212 wtpdfFlavours .add (PDFAFlavour .WTPDF_1_0_ACCESSIBILITY );
213213 }
214- if (veraPDFMeta .containsDeclaration ("http://pdfa.org/declarations/wtpdf#reuse1.0" )) {
214+ if (veraPDFMeta .containsDeclaration (VeraPDFMeta . WTPDF_REUSE_DECLARATION )) {
215215 wtpdfFlavours .add (PDFAFlavour .WTPDF_1_0_REUSE );
216216 }
217217 return wtpdfFlavours ;
You can’t perform that action at this time.
0 commit comments