Author: tilman
Date: Thu Nov 13 15:12:38 2025
New Revision: 1929715
Log:
PDFBOX-6099: add test
Added:
pdfbox/branches/3.0/xmpbox/src/test/resources/validxmp/PDFBOX-6099.xmp
Modified:
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/TestXMPWithDefinedSchemas.java
Modified:
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/TestXMPWithDefinedSchemas.java
==============================================================================
---
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/TestXMPWithDefinedSchemas.java
Thu Nov 13 15:12:32 2025 (r1929714)
+++
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/TestXMPWithDefinedSchemas.java
Thu Nov 13 15:12:38 2025 (r1929715)
@@ -42,7 +42,8 @@ class TestXMPWithDefinedSchemas
"/validxmp/ghost2.xmp",
"/validxmp/history2.rdf",
"/validxmp/Notepad++_A1b.xmp",
- "/validxmp/metadata.rdf"
+ "/validxmp/metadata.rdf",
+ "/validxmp/PDFBOX-6099.xmp"
);
}
Added: pdfbox/branches/3.0/xmpbox/src/test/resources/validxmp/PDFBOX-6099.xmp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ pdfbox/branches/3.0/xmpbox/src/test/resources/validxmp/PDFBOX-6099.xmp
Thu Nov 13 15:12:38 2025 (r1929715)
@@ -0,0 +1,68 @@
+<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
+<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP toolkit 2.9.1-13, framework
1.6">
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:iX="http://ns.adobe.com/iX/1.0/"
+ xmlns:xmp="http://ns.adobe.com/xap/1.0/"
+ xmlns:pdf="http://ns.adobe.com/pdf/1.3/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
+ xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/">
+ <rdf:Description
rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
+ xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
+ <pdf:Keywords/>
+ <pdf:Producer>Compart MFFPDF I/O Filter 2023-11-18
00:34:56</pdf:Producer>
+ </rdf:Description>
+ <rdf:Description
rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
+ xmlns:xmp="http://ns.adobe.com/xap/1.0/">
+ <xmp:CreatorTool>PDFCreator
3.1.1.10385</xmp:CreatorTool>
+
<xmp:CreateDate>2025-11-11T13:16:36+01:00</xmp:CreateDate>
+
<xmp:ModifyDate>2025-11-11T13:16:36+01:00</xmp:ModifyDate>
+ <xmp:Identifier>
+ <rdf:Bag>
+
<rdf:li>7c67df9f73681e1b1ea8884a4a0e9b55</rdf:li>
+ </rdf:Bag>
+ </xmp:Identifier>
+ </rdf:Description>
+ <rdf:Description
rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
+ xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/"
+
xapMM:DocumentID="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
+ xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/">
+ <xmpMM:VersionID>1</xmpMM:VersionID>
+ <xmpMM:History>
+ <rdf:Seq>
+ <rdf:li rdf:parseType="Resource">
+
<stEvt:action>created</stEvt:action>
+ <stEvt:parameters>converted to
PDF/A</stEvt:parameters>
+ <stEvt:softwareAgent>Compart
Docponent API</stEvt:softwareAgent>
+
<stEvt:when>2025-11-11T13:16:36+01:00</stEvt:when>
+ </rdf:li>
+ </rdf:Seq>
+ </xmpMM:History>
+ </rdf:Description>
+ <rdf:Description
rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ dc:format="application/pdf">
+ <dc:title>
+ <rdf:Alt>
+ <rdf:li xml:lang="x-default"/>
+ </rdf:Alt>
+ </dc:title>
+ <dc:description>
+ <rdf:Alt>
+ <rdf:li xml:lang="x-default"/>
+ </rdf:Alt>
+ </dc:description>
+ <dc:creator>
+ <rdf:Seq>
+ <rdf:li>User</rdf:li>
+ </rdf:Seq>
+ </dc:creator>
+ </rdf:Description>
+ <rdf:Description
rdf:about="uuid:71a722ba-4f74-11ec-0000-53130bd52c8e"
+ xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/">
+ <pdfaid:part>1</pdfaid:part>
+ <pdfaid:conformance>B</pdfaid:conformance>
+ </rdf:Description>
+ </rdf:RDF>
+</x:xmpmeta>
+<?xpacket end="w"?>
\ No newline at end of file