Author: vhennebert
Date: Thu Aug  2 11:17:11 2012
New Revision: 1368419

URL: http://svn.apache.org/viewvc?rev=1368419&view=rev
Log:
Bugzilla #53630: make it clear that the PDFConformanceException is due to 
accessibility not being enabled
Patch submitted by Robert Meyer

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFProfile.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFProfile.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFProfile.java?rev=1368419&r1=1368418&r2=1368419&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFProfile.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/PDFProfile.java Thu Aug  
2 11:17:11 2012
@@ -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,



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to