File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
xmpbox/src/test/java/org/apache/xmpbox/xml Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -366,12 +366,15 @@ void testPDFBox3882_2() throws XmpParsingException
366366 " <rdf:li>adobe:docid:photoshop:c7961c59-6e0f-11d8-87b7-d67539df12d8</rdf:li>\n " +
367367 " </rdf:Bag>\n " +
368368 " </photoshop:DocumentAncestors>\n " +
369+ " <photoshop:DateCreated>2012-04-30T12:54:48Z</photoshop:DateCreated>\n " +
369370 " </rdf:Description>\n " +
370371 " </rdf:RDF>\n " +
371372 "</x:xmpmeta>\n " +
372373 "<?xpacket end=\" w\" ?>" ;
373374 DomXmpParser xmpParser = new DomXmpParser ();
374375 XMPMetadata xmp = xmpParser .parse (s .getBytes (StandardCharsets .UTF_8 ));
376+ PhotoshopSchema photoshopSchema = xmp .getPhotoshopSchema ();
377+ assertEquals ("2012-04-30T12:54:48+00:00" , photoshopSchema .getDateCreated ());
375378 XMPMediaManagementSchema xmpMediaManagementSchema = xmp .getXMPMediaManagementSchema ();
376379 ArrayProperty historyProperty = xmpMediaManagementSchema .getHistoryProperty ();
377380 List <AbstractField > historyProperties = historyProperty .getAllProperties ();
You can’t perform that action at this time.
0 commit comments