Repository navigation
Description
PDF 2.0 Application Note 003 (2021) summarises where XMP may be attached and where processors should
look for it. ISO 32000-2 14.3.2 states the governing rule: any stream or dictionary may carry metadata
as long as it represents an actual information resource, and where there is ambiguity the metadata
shall be attached as closely as possible to the object that stores the resource.
Explicitly defined locations
Catalog (Table 29), page (31), ICC profile stream (65), image XObject (87), form XObject (93), and —
new in PDF 2.0 — document thread (162) and DPart (409). The last two shall be indirect references.
Locations AN003 says are implied but not tabulated
- Embedded font programs — on the
FontFile,FontFile2orFontFile3stream, not on the
font descriptor. 14.3.2 NOTE 1 says so directly. - Tiling patterns — on the pattern stream dictionary.
- Shadings — on the shading dictionary, not on the shading pattern that references it.
- Marked content — in the property list, which therefore cannot be inline and must be a named
resource. B1 adds/Propertiesfor exactly this reason. - Structure elements — 14.8.4.3 mentions only
DocumentandDocumentFragment, and AN003 states
explicitly that this should not be read as a limit.
Disambiguation rules AN003 gives
Because property lists are shared by several features, AN003 rules three uses out of the property list:
optional-content metadata belongs in the OCG dictionary; structure-element metadata in the structure
element dictionary; associated-file metadata in the file specification or embedded file stream
dictionary. The property list is left for content sequences that are untagged or only partly tagged.
Also: Type 3 font metadata goes in the font dictionary, unlike embedded font programs; annotation
metadata in the annotation dictionary; RichMedia asset metadata in each asset file specification; and
3D artwork metadata in the 3D stream — which is not an embedded file, so those rules do not apply.
Why unscheduled
Object-level metadata has narrow demand. Recorded so the locations are known when it is wanted, and so
H8 document-metadata editing is written to leave all of them alone.
Relates to
- B1 — named property lists.
- H8 — metadata editing must not disturb these.
- Docs: inventory ISO 32000-2's normative references, and gate the PDF 2.0 claim on it #225 — an inventory row.
Suggested target: Backlog.
Activity