PDF with Info Dictionary and XMP
A one-page PDF with a known Info dictionary and XMP metadata stream while its page-content stream remains identical to the stripped twin.

Rendered preview of the pdf file (1.3 KB). Download above for the original.
Specifications
- Metadata
- Title, Author, Subject, Creator, fixed dates, XMP packet
- Content Stream Sha256
- ae1a5796a41e12ee90123a79ddc3821b70a7c087e66b58364d95606b8a4540f5
- Twin
- full
Testing contract
Expected to pass- Scenario
- Extract metadata from the full PDF and compare its underlying content with the stripped control.
- Expected result
- Read Title, Author, Subject, Creator, fixed dates, XMP packet; compute contentStream SHA-256 ae1a5796a41e12ee90123a79ddc3821b70a7c087e66b58364d95606b8a4540f5, matching the stripped twin.
What is a .pdf file?
PDF (Portable Document Format) is a page-oriented format that fixes layout, fonts, and vector and raster graphics so a page renders identically anywhere. A `%PDF-` header is followed by numbered objects, a cross-reference table mapping each to a byte offset, and a trailer; edits append incremental updates rather than rewrite the file. Page content is a stream of drawing operators, so a PDF holds no words or paragraphs, only positioned glyph runs. Adobe released it in 1993 and gave it to ISO as ISO 32000-1 in 2008.
How to use this file
Use an example PDF to test text extraction, rendering, metadata parsing, AcroForm handling, and OCR pipelines: checking that extraction reconstructs reading order from glyph positions, that a scanned page yields no text, and that an incremental update leaves earlier revisions in the file.
How to use this file for testing
“PDF with Info Dictionary and XMP” is a deterministic Testaroo fixture for Metadata testing, Conversion testing. Images, audio, video, and documents with documented metadata paired with deliberately stripped versions, for verifying extraction, preservation, redaction, and privacy-scrubbing behavior.
Documented properties for this file: PDF · 1,372 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.
Document fixtures list their internal structure (pages, fields, tracked changes, embedded objects) in the spec table. Test extractors, converters, and OCR against that known structure, and compare searchable↔scanned or format-twin companions when present.
Code examples
import pdfplumber # pip install pdfplumber
with pdfplumber.open("pdf-info-xmp-full.pdf") as pdf:
print(len(pdf.pages), "pages")
print(pdf.pages[0].extract_text())Generated by generation/p6_core.py. Free for any use, no attribution required, license.
Related files
- pdfAlder Table Bistro: Factur-X hybrid invoice PDFFactur-X hybrid invoice PDF for Alder Table Bistro. Invoice INV-BST-5001 rendered for a person and attached as machine-readable XML for a system. The embedded file is named factur-x.xml, is referenced from both the EmbeddedFiles name tree and the document-level AF array with an AFRelationship of Data, and is byte-identical to invoice-facturx-cii.xml. The visible page and the XML agree: net 207.60, GST 10.38, 217.98 CAD due. This is the only file in the set that carries its data twice in one container.

- pdfCedar Street Tacos: Factur-X hybrid invoice PDFFactur-X hybrid invoice PDF for Cedar Street Tacos. Invoice INV-TRK-5001 rendered for a person and attached as machine-readable XML for a system. The embedded file is named factur-x.xml, is referenced from both the EmbeddedFiles name tree and the document-level AF array with an AFRelationship of Data, and is byte-identical to invoice-facturx-cii.xml. The visible page and the XML agree: net 187.70, GST 9.38, 197.08 CAD due. This is the only file in the set that carries its data twice in one container.

- pdfCopper Oven Bakery: Factur-X hybrid invoice PDFFactur-X hybrid invoice PDF for Copper Oven Bakery. Invoice INV-BAK-5001 rendered for a person and attached as machine-readable XML for a system. The embedded file is named factur-x.xml, is referenced from both the EmbeddedFiles name tree and the document-level AF array with an AFRelationship of Data, and is byte-identical to invoice-facturx-cii.xml. The visible page and the XML agree: net 165.41, GST 8.27, 173.68 CAD due. This is the only file in the set that carries its data twice in one container.

- docxDOCX with Core and Custom PropertiesA valid DOCX package with fixed core properties and two custom properties surrounding an unchanged word/document.xml part.

- docxDOCX with Metadata StrippedThe same DOCX document part without core or custom property parts, suitable for checking OOXML metadata removal without content loss.

- pdfEmber Lane Pizza: Factur-X hybrid invoice PDFFactur-X hybrid invoice PDF for Ember Lane Pizza. Invoice INV-PIZ-5001 rendered for a person and attached as machine-readable XML for a system. The embedded file is named factur-x.xml, is referenced from both the EmbeddedFiles name tree and the document-level AF array with an AFRelationship of Data, and is byte-identical to invoice-facturx-cii.xml. The visible page and the XML agree: net 243.81, GST 12.19, 256.00 CAD due. This is the only file in the set that carries its data twice in one container.
