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

The information below is for an old version of the document
Document Type Active Internet-Draft (lager WG)
Last updated 2016-05-14
Replaces draft-davies-idntables
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html bibtex
Additional URLs
- Mailing list discussion
Stream WG state Submitted to IESG for Publication
Document shepherd Audric Schiltknecht
Shepherd write-up Show (last changed 2016-03-08)
IESG IESG state IESG Evaluation::AD Followup
Consensus Boilerplate Yes
Telechat date
Needs 3 more YES or NO OBJECTION positions to pass.
Responsible AD Alexey Melnikov
Send notices to "Audric Schiltknecht" <audric.schiltknecht@viagenie.ca>
IANA IANA review state Version Changed - Review Needed
IANA action state None
Label Generation Rules (lager)                                 K. Davies
Internet-Draft                                                     ICANN
Intended status: Standards Track                              A. Freytag
Expires: November 15, 2016                                    ASMUS Inc.
                                                            May 14, 2016

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

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 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 November 15, 2016.

Copyright Notice

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

Davies & Freytag        Expires November 15, 2016               [Page 1]
Internet-Draft      Label Generation Rulesets in XML            May 2016

   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.  Normative Language  . . . . . . . . . . . . . . . . . . . . .   6
   4.  LGR Format  . . . . . . . . . . . . . . . . . . . . . . . . .   6
     4.1.  Namespace . . . . . . . . . . . . . . . . . . . . . . . .   6
     4.2.  Basic Structure . . . . . . . . . . . . . . . . . . . . .   6
     4.3.  Metadata  . . . . . . . . . . . . . . . . . . . . . . . .   7
       4.3.1.  The version Element . . . . . . . . . . . . . . . . .   8
       4.3.2.  The date Element  . . . . . . . . . . . . . . . . . .   8
       4.3.3.  The language Element  . . . . . . . . . . . . . . . .   8
       4.3.4.  The scope Element . . . . . . . . . . . . . . . . . .   9
       4.3.5.  The description Element . . . . . . . . . . . . . . .  10
       4.3.6.  The validity-start and validity-end Elements  . . . .  10
       4.3.7.  The unicode-version Element . . . . . . . . . . . . .  10
       4.3.8.  The references Element  . . . . . . . . . . . . . . .  11
   5.  Code Points and Variants  . . . . . . . . . . . . . . . . . .  12
     5.1.  Sequences . . . . . . . . . . . . . . . . . . . . . . . .  13
     5.2.  Conditional Contexts  . . . . . . . . . . . . . . . . . .  14
     5.3.  Variants  . . . . . . . . . . . . . . . . . . . . . . . .  15
       5.3.1.  Basic Variants  . . . . . . . . . . . . . . . . . . .  15
       5.3.2.  The type attribute  . . . . . . . . . . . . . . . . .  16
       5.3.3.  Null Variants . . . . . . . . . . . . . . . . . . . .  17
       5.3.4.  Variants with Reflexive Mapping . . . . . . . . . . .  18
       5.3.5.  Conditional Variants  . . . . . . . . . . . . . . . .  19
     5.4.  Annotations . . . . . . . . . . . . . . . . . . . . . . .  21
       5.4.1.  The ref Attribute . . . . . . . . . . . . . . . . . .  21
       5.4.2.  The comment Attribute . . . . . . . . . . . . . . . .  21
     5.5.  Code Point Tagging  . . . . . . . . . . . . . . . . . . .  22
   6.  Whole Label and Context Evaluation  . . . . . . . . . . . . .  22
     6.1.  Basic Concepts  . . . . . . . . . . . . . . . . . . . . .  22
     6.2.  Character Classes . . . . . . . . . . . . . . . . . . . .  23
       6.2.1.  Declaring and Invoking Named Classes  . . . . . . . .  24
Show full document text