08.01.2015 Views

Extensible Metadata Platform (XMP) Specification - Adobe Partners

Extensible Metadata Platform (XMP) Specification - Adobe Partners

Extensible Metadata Platform (XMP) Specification - Adobe Partners

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3<br />

<strong>XMP</strong> Storage Model<br />

External Storage of <strong>Metadata</strong><br />

External Storage of <strong>Metadata</strong><br />

It is recommended that <strong>XMP</strong> metadata be embedded in the file that the metadata describes.<br />

There are cases where this is not appropriate or possible, such as database storage models,<br />

extremes of file size, or due to format and access issues. Small content intended to be<br />

frequently transmitted over the Internet might not tolerate the overhead of embedded<br />

metadata. Archival systems for video and audio might not have any means to represent the<br />

metadata. Some high-end digital cameras have a proprietary, non-extensible file format for<br />

“raw” image data and typically store EXIF metadata as a separate file.<br />

If metadata is stored separately from content, there is a risk that the metadata can be lost. The<br />

question arises of how to associate the metadata with the file containing the content.<br />

Applications should:<br />

● Write the external file as a complete well-formed XML document, including the leading<br />

XML declaration.<br />

●<br />

●<br />

The file extension should be .xmp. For Mac OS, optionally set the file’s type to 'TEXT'.<br />

If a MIME type is needed, use application/rdf+xml.<br />

● Write external metadata as though it were embedded and then had the <strong>XMP</strong> Packets<br />

extracted and catenated by a postprocessor.<br />

● If possible, place the values of the xmpMM:DocumentID, xmpMM:InstanceID, or other<br />

appropriate properties within the file the <strong>XMP</strong> describes, so that format-aware applications<br />

can make sure they have the right metadata.<br />

For applications that need to find external <strong>XMP</strong> files, look in the same directory for a file with<br />

the same name as the main document but with an .xmp extension. (This is called a sidecar<br />

<strong>XMP</strong> file.)<br />

36 September 2005 <strong>XMP</strong> <strong>Specification</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!