]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla #53630: make it clear that the PDFConformanceException is due to accessibili...
authorVincent Hennebert <vhennebert@apache.org>
Thu, 2 Aug 2012 11:17:11 +0000 (11:17 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Thu, 2 Aug 2012 11:17:11 +0000 (11:17 +0000)
Patch submitted by Robert Meyer

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1368419 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/pdf/PDFProfile.java

index 580a9a791c195333f092b8bb8d1e3e42898c187e..98005e469d6fd53a92728ba98d8e1ce1a3adcbfb 100644 (file)
@@ -202,7 +202,8 @@ public class PDFProfile {
             PDFDictionary markInfo = getDocument().getRoot().getMarkInfo();
             if (markInfo == null) {
                 throw new PDFConformanceException(format(
-                        "{0} requires the MarkInfo dictionary to be present", getPDFAMode()));
+                        "{0} requires that the accessibility option in the configuration file be enabled",
+                        getPDFAMode()));
             }
             if (!Boolean.TRUE.equals(markInfo.get("Marked"))) {
                 throw new PDFConformanceException(format(err,