Representing Label Generation Rulesets using XML
draft-ietf-lager-specification-06

The information below is for an old version of the document
Document Type Active Internet-Draft (lager WG)
Last updated 2015-12-11
Replaces draft-davies-idntables
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Additional URLs
- Mailing list discussion
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
Label Generation Rules (lager)                                 K. Davies
Internet-Draft                                                     ICANN
Intended status: Standards Track                              A. Freytag
Expires: June 13, 2016                                        ASMUS Inc.
                                                       December 11, 2015

            Representing Label Generation Rulesets using XML
                   draft-ietf-lager-specification-06

Abstract

   This document describes a method of representing rules for validating
   identifier labels and alternate representations of those labels using
   Extensible Markup Language (XML).  These policies, known as "Label
   Generation Rulesets" (LGRs), are used for the implementation of
   Internationalized Domain Names (IDNs), for example.  The rulesets are
   used to implement and share that aspect of policy defining which
   labels and specific Unicode code points are permitted for
   registrations, which alternative code points are considered variants,
   and what actions may be performed on labels containing those
   variants.

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 June 13, 2016.

Copyright Notice

   Copyright (c) 2015 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

Davies & Freytag          Expires June 13, 2016                 [Page 1]
Internet-Draft      Label Generation Rulesets in XML       December 2015

   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.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Design Goals  . . . . . . . . . . . . . . . . . . . . . . . .   5
   3.  LGR Format  . . . . . . . . . . . . . . . . . . . . . . . . .   6
     3.1.  Namespace . . . . . . . . . . . . . . . . . . . . . . . .   6
     3.2.  Basic Structure . . . . . . . . . . . . . . . . . . . . .   6
     3.3.  Metadata  . . . . . . . . . . . . . . . . . . . . . . . .   7
       3.3.1.  The version Element . . . . . . . . . . . . . . . . .   7
       3.3.2.  The date Element  . . . . . . . . . . . . . . . . . .   8
       3.3.3.  The language Element  . . . . . . . . . . . . . . . .   8
       3.3.4.  The scope Element . . . . . . . . . . . . . . . . . .   9
       3.3.5.  The description Element . . . . . . . . . . . . . . .   9
       3.3.6.  The validity-start and validity-end Elements  . . . .   9
       3.3.7.  The unicode-version Element . . . . . . . . . . . . .  10
       3.3.8.  The references Element  . . . . . . . . . . . . . . .  10
   4.  Code Points and Variants  . . . . . . . . . . . . . . . . . .  11
     4.1.  Sequences . . . . . . . . . . . . . . . . . . . . . . . .  12
     4.2.  Conditional Contexts  . . . . . . . . . . . . . . . . . .  13
     4.3.  Variants  . . . . . . . . . . . . . . . . . . . . . . . .  14
       4.3.1.  Basic Variants  . . . . . . . . . . . . . . . . . . .  14
       4.3.2.  The type attribute  . . . . . . . . . . . . . . . . .  15
       4.3.3.  Null Variants . . . . . . . . . . . . . . . . . . . .  16
       4.3.4.  Variants with Reflexive Mapping . . . . . . . . . . .  17
       4.3.5.  Conditional Variants  . . . . . . . . . . . . . . . .  18
     4.4.  Annotations . . . . . . . . . . . . . . . . . . . . . . .  20
       4.4.1.  The ref Attribute . . . . . . . . . . . . . . . . . .  20
       4.4.2.  The comment Attribute . . . . . . . . . . . . . . . .  21
     4.5.  Code Point Tagging  . . . . . . . . . . . . . . . . . . .  21
   5.  Whole Label and Context Evaluation  . . . . . . . . . . . . .  21
     5.1.  Basic Concepts  . . . . . . . . . . . . . . . . . . . . .  21
     5.2.  Character Classes . . . . . . . . . . . . . . . . . . . .  22
       5.2.1.  Declaring and Invoking Named Classes  . . . . . . . .  23
       5.2.2.  Tag-based Classes . . . . . . . . . . . . . . . . . .  23
Show full document text