git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764805 13f79535-47bb-0310-9956-ffa450edef68tags/fop-1_0
foFile = new File(foBaseDir, "with-cmyk-images.fo"); | foFile = new File(foBaseDir, "with-cmyk-images.fo"); | ||||
try { | try { | ||||
convertFO(foFile, getUserAgent(), dumpPDF); | convertFO(foFile, getUserAgent(), dumpPDF); | ||||
fail("Expected PDFConformanceException. PDF/A-1 does not allow PostScript XObjects."); | |||||
fail("Expected PDFConformanceException." | |||||
+ " PDF/A-1 does not allow mixing DeviceRGB and DeviceCMYK."); | |||||
} catch (PDFConformanceException e) { | } catch (PDFConformanceException e) { | ||||
//Good! | //Good! | ||||
} | } |