pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1692254 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java
Date Wed, 22 Jul 2015 11:07:20 GMT
Author: msahyoun
Date: Wed Jul 22 11:07:20 2015
New Revision: 1692254

URL: http://svn.apache.org/r1692254
Log:
PDFBOX-2896: don't set second about attribute to comply with XMP spec 

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java?rev=1692254&r1=1692253&r2=1692254&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/CreatePDFA.java
Wed Jul 22 11:07:20 2015
@@ -73,6 +73,7 @@ public class CreatePDFA
 
             // add XMP metadata
             XMPMetadata xmp = XMPMetadata.createXMPMetadata();
+            
             try
             {
                 DublinCoreSchema dc = xmp.createAndAddDublinCoreSchema();
@@ -81,7 +82,6 @@ public class CreatePDFA
                 PDFAIdentificationSchema id = xmp.createAndAddPFAIdentificationSchema();
                 id.setPart(1);
                 id.setConformance("B");
-                id.setAboutAsSimple("PDFBox PDF/A sample");
                 
                 XmpSerializer serializer = new XmpSerializer();
                 ByteArrayOutputStream baos = new ByteArrayOutputStream();



Mime
View raw message