aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2012-08-02 11:17:11 +0000
committerVincent Hennebert <vhennebert@apache.org>2012-08-02 11:17:11 +0000
commit72362e49d9a0edf953e54b032bae42657edf67a5 (patch)
treedd9c175a5e94c4b1bb9b1f545a4d935a05cf0bce /src
parent209623523336fb3a1cf665994291fb54a84f3cab (diff)
downloadxmlgraphics-fop-72362e49d9a0edf953e54b032bae42657edf67a5.tar.gz
xmlgraphics-fop-72362e49d9a0edf953e54b032bae42657edf67a5.zip
Bugzilla #53630: make it clear that the PDFConformanceException is due to accessibility not being enabled
Patch submitted by Robert Meyer git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1368419 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/pdf/PDFProfile.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/pdf/PDFProfile.java b/src/java/org/apache/fop/pdf/PDFProfile.java
index 580a9a791..98005e469 100644
--- a/src/java/org/apache/fop/pdf/PDFProfile.java
+++ b/src/java/org/apache/fop/pdf/PDFProfile.java
@@ -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,