[Docs] [txt|pdf|xml|html] [Tracker] [Email] [Diff1] [Diff2] [Nits]

Versions: 00 01 02 03 04 05 06 07 08 09 RFC 6129

Network Working Group                                          L. Romary
Internet-Draft                                  TEI Consortium and INRIA
Intended status: Standards Track                             S. Lundberg
Expires: March 6, 2011                     The Royal Library, Copenhagen
                                                       September 2, 2010


                  The 'application/tei+xml' mediatype
                     draft-lundberg-app-tei-xml-03

Abstract

   This document defines the 'application/tei+xml' media type for markup
   languages defined in accordance with the Text Encoding and
   Interchange guidelines

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on March 6, 2011.

Copyright Notice

   Copyright (c) 2010 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.




Romary & Lundberg         Expires March 6, 2011                 [Page 1]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  Registration of MIME type 'application/tei+xml'  . . . . . . .  4
   3.  Recognizing TEI files  . . . . . . . . . . . . . . . . . . . .  6
   4.  Fragment identifier  . . . . . . . . . . . . . . . . . . . . .  7
   5.  Security considerations  . . . . . . . . . . . . . . . . . . .  8
     5.1.  Harmful content  . . . . . . . . . . . . . . . . . . . . .  8
     5.2.  Intellectual Property Rights . . . . . . . . . . . . . . .  8
     5.3.  Authenticity and confidentiality . . . . . . . . . . . . .  8
   6.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . .  9
   7.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 10
     7.1.  Normative References . . . . . . . . . . . . . . . . . . . 10
     7.2.  Informative References . . . . . . . . . . . . . . . . . . 10
   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 11




































Romary & Lundberg         Expires March 6, 2011                 [Page 2]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


1.  Introduction

   The TEI is an international and interdisciplinary standard that is
   widely used by libraries, museums, publishers, and individual
   scholars to represent all kinds of textual material for online
   research and teaching.  [TEI]

   In order to increase the possibilities for generic XML processing of
   TEI documents on the Internet this document defines the 'application/
   tei+xml' media type in accordance with [RFC3023].









































Romary & Lundberg         Expires March 6, 2011                 [Page 3]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


2.  Registration of MIME type 'application/tei+xml'

      MIME media type name: application

      MIME subtype name: tei+xml

      Required parameters: None

      Optional parameters: charset

         Identical with charset in [RFC3023]

      Encoding considerations:

         By virtue of TEI XML content being XML, it has the same
         considerations when sent as 'application/tei+xml' as does XML
         in general.  See RFC 3023 [RFC3023], Section 3.2.

      Security considerations:

         TEI elements may refer to arbitrary URIs.  Hence the security
         issues of [RFC3986], section 7, apply.  See also Security
         considerations (Section 5)

      Interoperability considerations:

         TEI documents often have the extension '.xml', which is not
         uncommon for other XML document formats.

      Published specification:

         This media type registration is for TEI documents as described
         in the TEI Guidelines[TEI].

      Applications which use this media type:

         There are currently no applications using the media type
         'application/tei+xml'.  It will be an entirely new type which
         is registered in order to allow for the deployment of TEI on
         the World Wide Web as a first class XML application.

      Additional information:

         Magic number(s):

            There is no single initial octet sequence that is always
            present in TEI documents.




Romary & Lundberg         Expires March 6, 2011                 [Page 4]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


         file extension(s):

            Common extensions are '.tei', '.teiCorpus' and '.odd'.

         Macintosh File Type Code(s)

            TEXT

         Object Identifier(s) or OID(s)

            Not applicable








































Romary & Lundberg         Expires March 6, 2011                 [Page 5]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


3.  Recognizing TEI files

   TEI files are XML documents or fragments having the root element in a
   TEI namespace, i.e., a namespace URI starting with
   http://www.tei-c.org/ns/ followed by the version number of the
   namespace.  The current namespace is http://www.tei-c.org/ns/1.0

   In general, a [TEI] file usually contains either of the strings

      <TEI

      <teiCorpus

   near the beginning, and usually after an XML declaration on the first
   line, i.e., a string like "<?xml ... ?>".

   Examples:

      Frequently, the actual XML content of TEI files will contain <TEI
      somewhere early on.

      More specialized types of documents may start with a lower case
      tei as in <teiCorpus.




























Romary & Lundberg         Expires March 6, 2011                 [Page 6]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


4.  Fragment identifier

   Documents having the media type 'application/tei+xml', use the
   fragment identifier notation in the way specified in [RFC3023] for
   the media type 'application/xml'.














































Romary & Lundberg         Expires March 6, 2011                 [Page 7]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


5.  Security considerations

   An XML resource does not in itself compromise data security.  When
   being available on a network simply through the dereferencing of an
   IRI [RFC3987] or a URI, care must be taken to properly interpret the
   data to prevent unintended access.

5.1.  Harmful content

   Any application accepting submitted or retrieving TEI XML for
   processing has to be aware of risks connected with injection of
   harmful scripts and executable XML.  Even common XML inclusion or the
   use of external entities, could potentially be used to reveal aspects
   of a service that may compromise its security.  Any vulnerability of
   these kinds are, however, application specific.  The TEI namespaces
   do not contain such elements.

5.2.  Intellectual Property Rights

   TEI documents often arise in digitization of cultural heritage
   materials.  Texts made accessible in TEI format may be free in the
   sense that there are no restrictions to their distribution through
   Digital Rights Management[DRM] or Intellectual Property Rights[IPR]
   constraints.  TEI documents are heterogeneous objects.  Some parts of
   a document may be free, whereas other parts, such as editorial text
   and annotations may be written much later may hence be subject to DRM
   restrictions.

   The TEI format provides means for highly granular attribution, down
   to the content of individual XML elements.  Software agents
   participating in the exchange or processing TEI must honour markup of
   this kind.  Even when there are no IPR constraints, intellectual
   honesty alone requires that document users are able to tell the
   difference between content from different sources.

5.3.  Authenticity and confidentiality

   Historical archival records are often encoded in TEI and legal
   document may be binding centuries after they were written.
   Digitization and encoding of legal texts may require technologies for
   assuring authenticity, such as cryptographic check sums and
   electronic signatures.

   Similarly, historical documents may in part their entirety be
   confidential.  This may be required by law or by the terms and
   conditions of a donation.  A text archive need content filtering or
   cryptographic technologies to meet such requirements.




Romary & Lundberg         Expires March 6, 2011                 [Page 8]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


6.  IANA Considerations

   Registration of MIME type 'application/tei+xml' (Section 2)
















































Romary & Lundberg         Expires March 6, 2011                 [Page 9]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


7.  References

7.1.  Normative References

   [RFC3023]  Murata, M., St. Laurent, S., and D. Kohn, "XML Media
              Types", RFC 3023, January 2001.

   [RFC3986]  Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform
              Resource Identifier (URI): Generic Syntax", STD 66,
              RFC 3986, January 2005.

   [TEI]      "TEI Guidelines", <http://www.tei-c.org/Vault/P5/current/
              doc/tei-p5-doc/en/html/>.

7.2.  Informative References

   [DRM]      "Digital rights management",
              <http://en.wikipedia.org/wiki/Digital_rights_management>.

   [IPR]      "Intellectual property", <http://en.wikipedia.org/wiki/
              Intellectual_Property_Rights>.

   [RFC3987]  Duerst, M. and M. Suignard, "Internationalized Resource
              Identifiers (IRIs)", RFC 3987, January 2005.



























Romary & Lundberg         Expires March 6, 2011                [Page 10]


Internet-Draft     The 'application/tei+xml' mediatype    September 2010


Authors' Addresses

   Laurent Romary
   TEI Consortium and INRIA


   Email: laurent.romary@inria.fr
   URI:   http://www.tei-c.org/


   Sigfrid Lundberg
   The Royal Library, Copenhagen
   Postbox 2149
   1016 Koebenhavn K
   Denmark

   Email: slu@kb.dk
   URI:   http://sigfrid-lundberg.se/

































Romary & Lundberg         Expires March 6, 2011                [Page 11]


Html markup produced by rfcmarkup 1.129c, available from https://tools.ietf.org/tools/rfcmarkup/