Skip to content

Commit 243e06d

Browse files
committed
PDFBOX-6099: add test
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1929713 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6001166 commit 243e06d

File tree

2 files changed

+70
-1
lines changed

2 files changed

+70
-1
lines changed

xmpbox/src/test/java/org/apache/xmpbox/TestXMPWithDefinedSchemas.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ static Stream<String> initializeParameters()
4141
"/validxmp/ghost2.xmp",
4242
"/validxmp/history2.rdf",
4343
"/validxmp/Notepad++_A1b.xmp",
44-
"/validxmp/metadata.rdf"
44+
"/validxmp/metadata.rdf",
45+
"/validxmp/PDFBOX-6099.xmp"
4546
);
4647
}
4748

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
2+
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP toolkit 2.9.1-13, framework 1.6">
3+
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
4+
xmlns:iX="http://ns.adobe.com/iX/1.0/"
5+
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
6+
xmlns:pdf="http://ns.adobe.com/pdf/1.3/"
7+
xmlns:dc="http://purl.org/dc/elements/1.1/"
8+
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
9+
xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/">
10+
<rdf:Description rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
11+
xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
12+
<pdf:Keywords/>
13+
<pdf:Producer>Compart MFFPDF I/O Filter 2023-11-18 00:34:56</pdf:Producer>
14+
</rdf:Description>
15+
<rdf:Description rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
16+
xmlns:xmp="http://ns.adobe.com/xap/1.0/">
17+
<xmp:CreatorTool>PDFCreator 3.1.1.10385</xmp:CreatorTool>
18+
<xmp:CreateDate>2025-11-11T13:16:36+01:00</xmp:CreateDate>
19+
<xmp:ModifyDate>2025-11-11T13:16:36+01:00</xmp:ModifyDate>
20+
<xmp:Identifier>
21+
<rdf:Bag>
22+
<rdf:li>7c67df9f73681e1b1ea8884a4a0e9b55</rdf:li>
23+
</rdf:Bag>
24+
</xmp:Identifier>
25+
</rdf:Description>
26+
<rdf:Description rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
27+
xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/"
28+
xapMM:DocumentID="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
29+
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/">
30+
<xmpMM:VersionID>1</xmpMM:VersionID>
31+
<xmpMM:History>
32+
<rdf:Seq>
33+
<rdf:li rdf:parseType="Resource">
34+
<stEvt:action>created</stEvt:action>
35+
<stEvt:parameters>converted to PDF/A</stEvt:parameters>
36+
<stEvt:softwareAgent>Compart Docponent API</stEvt:softwareAgent>
37+
<stEvt:when>2025-11-11T13:16:36+01:00</stEvt:when>
38+
</rdf:li>
39+
</rdf:Seq>
40+
</xmpMM:History>
41+
</rdf:Description>
42+
<rdf:Description rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
43+
xmlns:dc="http://purl.org/dc/elements/1.1/"
44+
dc:format="application/pdf">
45+
<dc:title>
46+
<rdf:Alt>
47+
<rdf:li xml:lang="x-default"/>
48+
</rdf:Alt>
49+
</dc:title>
50+
<dc:description>
51+
<rdf:Alt>
52+
<rdf:li xml:lang="x-default"/>
53+
</rdf:Alt>
54+
</dc:description>
55+
<dc:creator>
56+
<rdf:Seq>
57+
<rdf:li>User</rdf:li>
58+
</rdf:Seq>
59+
</dc:creator>
60+
</rdf:Description>
61+
<rdf:Description rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
62+
xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/">
63+
<pdfaid:part>1</pdfaid:part>
64+
<pdfaid:conformance>B</pdfaid:conformance>
65+
</rdf:Description>
66+
</rdf:RDF>
67+
</x:xmpmeta>
68+
<?xpacket end="w"?>

0 commit comments

Comments
 (0)