Media Type 'application/vnd.adobe.xfdf' Details

Media Type 'application/vnd.adobe.xfdf' Details

Basic Info
Media Type application
subtype vnd.adobe.xfdf
Registered? Yes
See also Perelman

Tags: (none)

File Formats: (none)


Name : Roberto Perelman

E-mail : [email protected]

MIME media type name : Application

MIME subtype name : Vendor Tree - vnd.adobe.xfdf

Required parameters : none

Optional parameters :
charset, with the recommended value being "UTF-8" (see RFC 2376)

Encoding considerations :
application/vnd.adobe.xfdf is used over HTTP, and no
content-transfer-encoding is necessary (see RFC 2376)

Security considerations :
This format is used to carry forms data in both directions between a web
client and a server. As such, its security implications are dependent on
what use that data is put to at both the client and the server ends. At
client, that data is usually presented to an end user in some form. At the
server, that data can be stored in databases, or fed to other
In all cases, it is important that this data is scrutinized to prevent
malicious inputs from causing damage. See also RFC 2376 for additional
considerations on the subject of security.

Interoperability considerations :
Since this is an XML-based format, it can be manipulated by any tool that
understands XML

Published specification :
Included below:

<schema targetNamespace=""

    <element name="xfdf" type="xfdf:xfdfType"/>

    <type name="xfdfType">
        <element name="fields" minOccurs="0" maxOccurs="1"
        <element name="f" minOccurs="0" maxOccurs="1">
                <attribute name="href" minOccurs="1" type="uri"/>
        <attribute name="xmlns" minOccurs="1">
            <datatype source="uri">
                <enumeration value=""/>
        <attribute name="xml:space" minOccurs="1">
            <datatype source="string">
                <enumeration value="preserve">
                        <info>Specially important for multi-line text
field values, but declare it at the root for compactness, to
take advantage of inheritance

    <type name="fields">
        <element name="field" minOccurs="0" maxOccurs="*"

    <type name="field">
        <element name="field" minOccurs="0" maxOccurs="*"
        <element name="value" minOccurs="0" maxOccurs="*" type="string">

                <info>A null value is equivalent to not including a
value tag at all
        <attribute name="name" minOccurs="1">
            <datatype source="string">
                <pattern value="[^.]+">
                        <info>Field names may not contain periods</info>



A sample document instance:

<?xml version="1.0" encoding="UTF-8"?>
<xfdf xmlns="" xml:space="preserve">
        <field name="essay">
            <value>Once upon a time, there was a king.
He had one daughter.</value>
        <field name="phone">
            <field name="work">
                <value>408 536-6000</value>
        <field name="hobbies">
        <field name="comments"/>
    <f href=""/>

Applications which use this media :
Adobe Acrobat

Additional information :

1. Magic number(s) : none (see also RFC 2376)
2. File extension(s) : .xfdf
3. Macintosh file type code : "XFDF"

Person to contact for further information :

1. Name : Roberto Perelman
2. E-mail : [email protected]

Intended usage : Common

Author/Change controller :

(created 22 Jan 2002)
(originally created 03 Nov 2000)