<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent">

<rfc xmlns:xi="http://www.w3.org/2001/XInclude" docName="draft-ietf-regext-unhandled-namespaces-08" number="9038" ipr="trust200902" obsoletes="" updates="" submissionType="IETF" category="std" consensus="true" xml:lang="en" tocInclude="true" tocDepth="4" symRefs="true" sortRefs="true" version="3">
  <front>
    <title abbrev="Unhandled Namespaces">
    Extensible Provisioning Protocol (EPP) Unhandled Namespaces</title>
    <seriesInfo name="RFC" value="9038"/>
    <author fullname="James Gould" surname="Gould">
      <organization>VeriSign, Inc.</organization>
      <address>
        <postal>
          <street>12061 Bluemont Way</street>
          <city>Reston</city>
          <region>VA</region>
          <code>20190</code>
          <country>United States of America</country>
        </postal>
        <email>jgould@verisign.com</email>
        <uri>http://www.verisign.com</uri>
      </address>
    </author>
    <author fullname="Martin Casanova" surname="Casanova">
      <organization>SWITCH</organization>
      <address>
        <postal>
          <street>P.O. Box</street>
          <city>Zurich</city>
          <code>8021</code>
          <country>Switzerland</country>
        </postal>
        <email>martin.casanova@switch.ch</email>
        <uri>http://www.switch.ch</uri>
      </address>
    </author>
    <date month="May" year="2021"/>

<keyword>login</keyword>
<keyword>greeting</keyword>
<keyword>URI</keyword>
<keyword>namespace</keyword>
<keyword>response</keyword>
<keyword>general</keyword>
<keyword>poll</keyword>
<keyword>object-level</keyword>
<keyword>command-response</keyword>
<keyword>signal</keyword>
<keyword>signaling</keyword>

    <abstract>
      <t>The Extensible Provisioning Protocol (EPP), as defined in RFC 5730,
      includes a method for the client and server to
      determine the objects to be managed during a session and the object
      extensions to be used during a session.  The services are identified using
      namespace URIs, and an "unhandled namespace" is one that is associated with
      a service not supported by the client.
      This document defines an operational practice that enables the server
      to return information associated with unhandled namespace URIs and that
      maintains compliance with the negotiated services defined in
      RFC 5730.</t>
    </abstract>
  </front>
  <middle>
    <section numbered="true" toc="default">
      <name>Introduction</name>
      <t>The Extensible Provisioning Protocol (EPP), as defined in <xref target="RFC5730" format="default"/>, includes a method for the client and server to
      determine the objects to be managed during a session and the object
      extensions to be used during a session.  The services are identified using
      namespace URIs.  How should the server handle
      service data that needs to be returned in the response when
      the client does not support the required service namespace URI,
      which is referred to as an "unhandled namespace"?
      An unhandled namespace
      is a significant issue for the processing of the poll messages described in <xref target="RFC5730" format="default"/>, since poll messages are inserted
      by the server prior to knowing the supported client services,
      and the client needs to be capable of processing all poll messages.
      Returning an unhandled namespace poll message is not compliant with the negotiated services defined in
      <xref target="RFC5730" format="default"/>, and returning an error makes the unhandled namespace poll message
      a poison message by halting the processing of the poll queue.
      An unhandled namespace is also an issue for general EPP responses when the
      server has information that it cannot return to the client due to
      the client's supported services.  The server should be able to return
      unhandled namespace information that
      the client can process later.  This document defines an operational
      practice that enables the server to return information associated
      with unhandled namespace URIs and that maintains compliance with the negotiated
      services defined in <xref target="RFC5730" format="default"/>.</t>
      <section numbered="true" toc="default">
        <name>Conventions Used in This Document</name>
        <t>
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
    NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
    described in BCP&nbsp;14 <xref target="RFC2119"/> <xref target="RFC8174"/> 
    when, and only when, they appear in all capitals, as shown here.
        </t>
	
        <t>XML <xref target="W3C.REC-xml11-20060816"/> is case sensitive. Unless stated otherwise, XML specifications
        and examples provided in this document <bcp14>MUST</bcp14> be interpreted in the
        character case presented in order to develop a conforming
        implementation.</t>
        <t>In examples, "S:" represents lines returned by a protocol server.
        Indentation and white space in examples are provided only to illustrate element relationships
        and are not required features of this protocol.
        </t>
        <t>The examples reference XML namespace prefixes that are used for the associated XML namespaces.
        Implementations <bcp14>MUST NOT</bcp14> depend on the example XML namespaces and instead employ a proper
        namespace-aware XML parser and serializer to interpret and
        output the XML documents.  The example namespace prefixes used and their associated XML namespaces include:</t>
        <dl newline="false" spacing="normal" indent="4">
          <dt>changePoll:</dt>
          <dd>urn:ietf:params:xml:ns:changePoll-1.0</dd>
          <dt>domain:</dt>
          <dd>urn:ietf:params:xml:ns:domain-1.0</dd>
          <dt>secDNS:</dt>
          <dd>urn:ietf:params:xml:ns:secDNS-1.1</dd>
        </dl>
        <t>In the template example XML, placeholder content is represented by the following variables:</t>
        <dl newline="false" spacing="normal" indent="4">
          <dt>[NAMESPACE-XML]:</dt>
          <dd>XML content associated with a login service namespace URI.
            An example is the &lt;domain:infData&gt; element content in <xref target="RFC5731" format="default"/>.</dd>
          <dt>[NAMESPACE-URI]:</dt>
          <dd>XML namespace URI associated with the [NAMESPACE-XML] XML content.
            An example is "urn:ietf:params:xml:ns:domain-1.0" in <xref target="RFC5731" format="default"/>.</dd>
        </dl>
      </section>
    </section>
    <section anchor="unhandledNamespace" numbered="true" toc="default">
      <name>Unhandled Namespaces</name>
      <t>An unhandled namespace is an XML namespace that is associated with a response extension that is
    not included in the client-specified EPP login services of <xref target="RFC5730" format="default"/>.  The EPP login
    services consist of the set of XML namespace URIs included in the &lt;objURI&gt; or &lt;extURI&gt; elements of
    the EPP &lt;login&gt; command <xref target="RFC5730" format="default"/>.  The services supported by the server are
    included in the &lt;objURI&gt; and &lt;extURI&gt; elements of the EPP &lt;greeting&gt; <xref target="RFC5730" format="default"/>, which should be
    a superset of the login services included in the EPP &lt;login&gt; command.  A server may have information
    associated with a specific namespace that it needs to return in the response to a client.  The unhandled namespaces problem exists when the server
    has information that it needs to return to the client, but the namespace of the information is not supported by the client based on the
    negotiated EPP &lt;login&gt; command services.</t>
    </section>
    <section anchor="extValueApproach" numbered="true" toc="default">
      <name>Use of EPP &lt;extValue&gt; for Unhandled Namespace Data</name>
      <t>In <xref target="RFC5730" format="default"/>, the &lt;extValue&gt; element is used to provide additional
      error diagnostic information, including the &lt;value&gt; element that identifies the client-provided element that caused
      a server error condition and the &lt;reason&gt; element containing the human-readable message that describes the reason for
      the error.  This operational practice extends the use of the &lt;extValue&gt; element for the purpose of returning
      unhandled namespace information in a successful response.</t>
      <t>When a server has data to return to the client that the client does not support based on the login services,
      the server <bcp14>MAY</bcp14> return a successful response with the data for each unsupported namespace moved into an &lt;extValue&gt; element <xref target="RFC5730" format="default"/>. The unhandled namespace will not cause an error response,
      but the unhandled namespace data will instead be moved to an &lt;extValue&gt; element, along with a reason why
      the unhandled namespace data could not be included in the appropriate location of the response.
      The &lt;extValue&gt; element will not be processed by the XML processor.  The &lt;extValue&gt;
      element contains the following child elements:
      </t>
      <dl newline="false" spacing="normal" indent="4">
        <dt>&lt;value&gt;:</dt>
        <dd>Contains a child element with the unhandled namespace XML.
           The unhandled namespace <bcp14>MUST</bcp14> be declared in the child element or any
           containing element, including the root element.
           XML processing of the &lt;value&gt; element is
           disabled by the XML schema in <xref target="RFC5730" format="default"/>, so the information can
           safely be returned in the &lt;value&gt; element.</dd>
        <dt>&lt;reason&gt;:</dt>
        <dd>A formatted, human-readable message that indicates the reason the
          unhandled namespace data was not returned in the appropriate location of the response.  The formatted reason
          <bcp14>SHOULD</bcp14> follow the <xref target="RFC5234" format="default">Augmented Backus-Naur Form (ABNF) grammar</xref> format: NAMESPACE-URI " not in login services",
          where NAMESPACE-URI is the unhandled XML namespace like "urn:ietf:params:xml:ns:domain-1.0" in <xref target="RFC5731" format="default"/>.</dd>
      </dl>
      <t>This document applies to the handling of unsupported namespaces for object-level extensions and command-response extensions <xref target="RFC3735" format="default"/>.
      This document does not apply to the handling of unsupported namespaces for protocol-level extensions or authentication-information extensions <xref target="RFC3735" format="default"/>.
      Refer to the following sections on how to handle an unsupported object-level extension namespace or an unsupported command-response extension namespace.</t>
      <section anchor="objectLevelExtension" numbered="true" toc="default">
        <name>Unhandled Object-Level Extension</name>
        <t>An object-level extension in <xref target="RFC5730" format="default"/> is a child element of the &lt;resData&gt; element.  If the client does not handle
        the namespace of the object-level extension, then the &lt;resData&gt; element is removed and its object-level extension child element is moved into an &lt;extValue&gt; &lt;value&gt; element <xref target="RFC5730" format="default"/>, with the namespace URI included in the corresponding &lt;extValue&gt; &lt;reason&gt; element.
        The response becomes a general EPP response without the &lt;resData&gt; element.</t>
        <t keepWithNext="true">Below is a template response for a supported object-level extension.
        The [NAMESPACE-XML] variable represents the object-level extension XML.</t>
<sourcecode type="xml"><![CDATA[
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
S:  <response>
S:    <result code="1000">
S:      <msg>Command completed successfully</msg>
S:    </result>
S:    <resData>
S:      [NAMESPACE-XML]
S:    </resData>
S:    <trID>
S:      <clTRID>ABC-12345</clTRID>
S:      <svTRID>54322-XYZ</svTRID>
S:    </trID>
S:  </response>
S:</epp>
]]></sourcecode>
        <t keepWithNext="true">Below is a template for an unhandled namespace response for an unsupported object-level extension.
      The [NAMESPACE-XML] variable represents the object-level extension XML, and the [NAMESPACE-URI]
      variable represents the object-level extension XML namespace URI.</t>
<sourcecode type="xml"><![CDATA[
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
S:  <response>
S:    <result code="1000">
S:      <msg>Command completed successfully</msg>
S:      <extValue>
S:        <value>
S:          [NAMESPACE-XML]
S:        </value>
S:        <reason>
S:          [NAMESPACE-URI] not in login services
S:        </reason>
S:      </extValue>
S:    </result>
S:    <trID>
S:      <clTRID>ABC-12345</clTRID>
S:      <svTRID>54322-XYZ</svTRID>
S:    </trID>
S:  </response>
S:</epp>
]]></sourcecode>
        <t>The EPP response is converted from an object response to a general EPP response by the server when the client does not support the object-level extension namespace URI.</t>
        <t keepWithNext="true">Below is an example of a &lt;transfer&gt; query response (see <xref target="RFC5731" sectionFormat="of" section="3.1.3"/>) converted into an unhandled namespace response.</t>
<sourcecode type="xml"><![CDATA[
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
S:  <response>
S:    <result code="1000">
S:      <msg>Command completed successfully</msg>
S:      <extValue>
S:        <value>
S:          <domain:trnData
S:            xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
S:            <domain:name>example.com</domain:name>
S:            <domain:trStatus>pending</domain:trStatus>
S:            <domain:reID>ClientX</domain:reID>
S:            <domain:reDate>2000-06-06T22:00:00.0Z</domain:reDate>
S:            <domain:acID>ClientY</domain:acID>
S:            <domain:acDate>2000-06-11T22:00:00.0Z</domain:acDate>
S:            <domain:exDate>2002-09-08T22:00:00.0Z</domain:exDate>
S:          </domain:trnData>
S:        </value>
S:        <reason>
S:          urn:ietf:params:xml:ns:domain-1.0 not in login services
S:        </reason>
S:      </extValue>
S:    </result>
S:    <trID>
S:      <clTRID>ABC-12345</clTRID>
S:      <svTRID>54322-XYZ</svTRID>
S:    </trID>
S:  </response>
S:</epp>
]]></sourcecode>
      </section>
      <section anchor="commandResponseLevelExtension" numbered="true" toc="default">
        <name>Unhandled Command-Response Extension</name>
        <t>A command-response extension in <xref target="RFC5730" format="default"/> is a child element of the &lt;extension&gt; element.  If the client does not handle
        the namespace of the command-response extension, the command-response child element is moved into an &lt;extValue&gt; &lt;value&gt;
        element <xref target="RFC5730" format="default"/>, with the namespace URI included in the corresponding &lt;extValue&gt; &lt;reason&gt; element.  Afterwards, if there
        are no additional command-response child elements, the &lt;extension&gt; element <bcp14>MUST</bcp14> be removed.</t>
        <t keepWithNext="true">Below is a template response for a supported command-response extension.
        The [NAMESPACE-XML] variable represents the command-response extension XML.</t>
<sourcecode type="xml"><![CDATA[
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
S:  <response>
S:    <result code="1000">
S:      <msg>Command completed successfully</msg>
S:    </result>
S:    <extension>
S:      [NAMESPACE-XML]
S:    </extension>
S:    <trID>
S:      <clTRID>ABC-12345</clTRID>
S:      <svTRID>54322-XYZ</svTRID>
S:    </trID>
S:  </response>
S:</epp>
]]></sourcecode>
        <t keepWithNext="true">Below is a template of an unhandled namespace response for an unsupported command-response extension.  The [NAMESPACE-XML] variable represents the
      command-response extension XML, and the
        [NAMESPACE-URI] variable represents the command-response extension XML namespace URI.</t>
<sourcecode type="xml"><![CDATA[
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
S:  <response>
S:    <result code="1000">
S:      <msg>Command completed successfully</msg>
S:      <extValue>
S:        <value>
S:         [NAMESPACE-XML]
S:        </value>
S:        <reason>
S:          [NAMESPACE-URI] not in login services
S:        </reason>
S:      </extValue>
S:    </result>
S:    <trID>
S:      <clTRID>ABC-12345</clTRID>
S:      <svTRID>54322-XYZ</svTRID>
S:    </trID>
S:  </response>
S:</epp>
]]></sourcecode>
        <t>The EPP response is converted to an unhandled namespace response by moving the unhandled command-response extension from under the &lt;extension&gt; to an &lt;extValue&gt; element.</t>
        <t keepWithNext="true">Below is example of the Delegation Signer (DS) Data Interface &lt;info&gt; response (see <xref target="RFC5910" sectionFormat="of" section="5.1.2"/>) converted to an unhandled namespace response.</t>
<sourcecode type="xml"><![CDATA[
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
S:     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
S:  <response>
S:    <result code="1000">
S:      <msg>Command completed successfully</msg>
S:      <extValue>
S:        <value>
S:          <secDNS:infData
S:            xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1">
S:            <secDNS:dsData>
S:              <secDNS:keyTag>12345</secDNS:keyTag>
S:              <secDNS:alg>3</secDNS:alg>
S:              <secDNS:digestType>1</secDNS:digestType>
S:              <secDNS:digest>49FD46E6C4B45C55D4AC</secDNS:digest>
S:            </secDNS:dsData>
S:          </secDNS:infData>
S:        </value>
S:        <reason>
S:          urn:ietf:params:xml:ns:secDNS-1.1 not in login services
S:        </reason>
S:      </extValue>
S:    </result>
S:    <resData>
S:      <domain:infData
S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
S:        <domain:name>example.com</domain:name>
S:        <domain:roid>EXAMPLE1-REP</domain:roid>
S:        <domain:status s="ok"/>
S:        <domain:registrant>jd1234</domain:registrant>
S:        <domain:contact type="admin">sh8013</domain:contact>
S:        <domain:contact type="tech">sh8013</domain:contact>
S:        <domain:ns>
S:          <domain:hostObj>ns1.example.com</domain:hostObj>
S:          <domain:hostObj>ns2.example.com</domain:hostObj>
S:        </domain:ns>
S:        <domain:host>ns1.example.com</domain:host>
S:        <domain:host>ns2.example.com</domain:host>
S:        <domain:clID>ClientX</domain:clID>
S:        <domain:crID>ClientY</domain:crID>
S:        <domain:crDate>1999-04-03T22:00:00.0Z</domain:crDate>
S:        <domain:upID>ClientX</domain:upID>
S:        <domain:upDate>1999-12-03T09:00:00.0Z</domain:upDate>
S:        <domain:exDate>2005-04-03T22:00:00.0Z</domain:exDate>
S:        <domain:trDate>2000-04-08T09:00:00.0Z</domain:trDate>
S:        <domain:authInfo>
S:          <domain:pw>2fooBAR</domain:pw>
S:        </domain:authInfo>
S:      </domain:infData>
S:    </resData>
S:    <trID>
S:      <clTRID>ABC-12345</clTRID>
S:      <svTRID>54322-XYZ</svTRID>
S:    </trID>
S:  </response>
S:</epp>
]]></sourcecode>
      </section>
    </section>
    <section anchor="signal-client-server-support" numbered="true" toc="default">
      <name>Signaling Client and Server Support</name>
      <t>This document does not define new EPP protocol elements but rather specifies an operational practice using the existing EPP protocol, where
        the client and the server can signal support for the operational practice using a namespace URI in the login and greeting extension services.
        The namespace URI "urn:ietf:params:xml:ns:epp:unhandled-namespaces-1.0" is used to signal support for the operational practice.  The
        client includes the namespace URI in an &lt;svcExtension&gt; &lt;extURI&gt; element of the &lt;login&gt; command <xref target="RFC5730" format="default"/>.
        The server includes the namespace URI in an &lt;svcExtension&gt; &lt;extURI&gt; element of the greeting <xref target="RFC5730" format="default"/>.</t>
      <t>A client that receives the namespace URI in the server's greeting extension services can expect the following supported behavior by the server:
      </t>
      <ul spacing="normal">
        <li>support unhandled namespace object-level extensions and command-response extensions in EPP poll messages, per <xref target="usagePollMessages" format="default"/></li>
        <li>support the option of unhandled namespace command-response extensions in general EPP responses, per <xref target="usageGeneralResponses" format="default"/></li>
      </ul>
      <t>A server that receives the namespace URI in the client's &lt;login&gt; command extension services can expect the following supported behavior by the client:
      </t>
      <ul spacing="normal">
        <li>support monitoring the EPP poll messages and general EPP responses for unhandled namespaces</li>
      </ul>
    </section>
    <section anchor="usageGeneralResponses" numbered="true" toc="default">
      <name>Usage with General EPP Responses</name>
      <t>The unhandled namespace approach defined in <xref target="extValueApproach" format="default"/>
      <bcp14>MAY</bcp14> be used for a general EPP response to an EPP command.  A general EPP response
      includes any EPP response that is not a poll message.  The use of the unhandled namespace approach
      for poll-message EPP responses is defined in <xref target="usagePollMessages" format="default"/>.
      The server <bcp14>MAY</bcp14> exclude the unhandled namespace information in the general EPP response
      or <bcp14>MAY</bcp14> include it using the unhandled namespace approach.</t>
      <t>The unhandled namespace approach for general EPP responses <bcp14>SHOULD</bcp14> only be applicable
      to command-response extensions, defined in <xref target="commandResponseLevelExtension" format="default"/>,
      since the server <bcp14>SHOULD NOT</bcp14> accept an object-level EPP command if the client did not
      include the object-level namespace URI in the login services.  An object-level
      EPP response extension is returned when the server successfully executes an
      object-level EPP command extension.  The server <bcp14>MAY</bcp14> return an unhandled
      object-level extension to the client, as defined in <xref target="objectLevelExtension" format="default"/>.</t>
      <t>Returning domain name Redemption Grace Period (RGP) data, based on <xref target="RFC3915" format="default"/>,
      provides an example of applying the unhandled namespace approach for a general EPP response.
      If the client
      does not include the "urn:ietf:params:xml:ns:rgp-1.0" namespace URI in the login
      services and the domain &lt;info&gt; response of a domain name does have RGP
      information, the server <bcp14>MAY</bcp14> exclude the &lt;rgp:infData&gt; element from the EPP response
      or <bcp14>MAY</bcp14> include it under the &lt;extValue&gt; element, per <xref target="commandResponseLevelExtension" format="default"/>.</t>
      <t keepWithNext="true">Below is an example of a domain name &lt;info&gt; response <xref target="RFC5731" format="default"/> converted to an unhandled &lt;rgp:infData&gt; element (see <xref target="RFC3915" sectionFormat="of" section="4.1.1"/>) included under an &lt;extValue&gt; element:
      </t>
<sourcecode type="xml"><![CDATA[
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
S:     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
S:     xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
S:     epp-1.0.xsd">
S:  <response>
S:    <result code="1000">
S:      <msg>Command completed successfully</msg>
S:      <extValue>
S:        <value>
S:          <rgp:infData xmlns:rgp="urn:ietf:params:xml:ns:rgp-1.0"
S:           xsi:schemaLocation="urn:ietf:params:xml:ns:rgp-1.0
S:           rgp-1.0.xsd">
S:            <rgp:rgpStatus s="redemptionPeriod"/>
S:          </rgp:infData>
S:        </value>
S:        <reason>
S:          urn:ietf:params:xml:ns:rgp-1.0 not in login services
S:        </reason>
S:      </extValue>
S:    </result>
S:    <resData>
S:      <domain:infData
S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
S:        xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0
S:        domain-1.0.xsd">
S:        <domain:name>example.com</domain:name>
S:        <domain:roid>EXAMPLE1-REP</domain:roid>
S:        <domain:status s="pendingDelete"/>
S:        <domain:registrant>jd1234</domain:registrant>
S:        <domain:contact type="admin">sh8013</domain:contact>
S:        <domain:contact type="tech">sh8013</domain:contact>
S:        <domain:ns>
S:          <domain:hostObj>ns1.example.com</domain:hostObj>
S:          <domain:hostObj>ns1.example.net</domain:hostObj>
S:        </domain:ns>
S:        <domain:host>ns1.example.com</domain:host>
S:        <domain:host>ns2.example.com</domain:host>
S:        <domain:clID>ClientX</domain:clID>
S:        <domain:crID>ClientY</domain:crID>
S:        <domain:crDate>1999-04-03T22:00:00.0Z</domain:crDate>
S:        <domain:upID>ClientX</domain:upID>
S:        <domain:upDate>1999-12-03T09:00:00.0Z</domain:upDate>
S:        <domain:exDate>2005-04-03T22:00:00.0Z</domain:exDate>
S:        <domain:trDate>2000-04-08T09:00:00.0Z</domain:trDate>
S:        <domain:authInfo>
S:          <domain:pw>2fooBAR</domain:pw>
S:        </domain:authInfo>
S:      </domain:infData>
S:    </resData>
S:    <trID>
S:      <clTRID>ABC-12345</clTRID>
S:      <svTRID>54322-XYZ</svTRID>
S:    </trID>
S:  </response>
S:</epp>
]]></sourcecode>
    </section>
    <section anchor="usagePollMessages" numbered="true" toc="default">
      <name>Usage with Poll-Message EPP Responses</name>
      <t>The unhandled namespace approach, defined in <xref target="extValueApproach" format="default"/>,
      <bcp14>MUST</bcp14> be used if there is unhandled namespace information included in a &lt;poll&gt; response.
      The server inserts poll messages into the client's poll queue independent of knowing the supported
      client login services; therefore, there may be unhandled object-level extensions and command-response
      extensions included in a client's poll queue.  In <xref target="RFC5730" format="default"/>, the &lt;poll&gt; command
      is used by the client to retrieve and acknowledge poll messages that have been
      inserted by the server.  The &lt;poll&gt; response is an EPP response that includes the
      &lt;msgQ&gt; element that provides poll queue metadata about the message.  The
      unhandled namespace approach, defined in <xref target="extValueApproach" format="default"/>, is used
      for an unhandled object-level extension and for each of the
      unhandled command-response extensions attached to the &lt;poll&gt; response.  The resulting
      &lt;poll&gt; response <bcp14>MAY</bcp14> have either or both the object-level extension or
      command-response extensions moved to &lt;extValue&gt; elements, as defined in
      <xref target="extValueApproach" format="default"/>.</t>
      <t>The change poll message, as defined in <xref target="RFC8590" sectionFormat="of" section="3.1.2"/>, which is an extension of any EPP object,
      is an example of applying the unhandled namespace approach for &lt;poll&gt; responses.
      Below are examples of converting the domain name &lt;info&gt; response example in <xref target="RFC8590" sectionFormat="of" section="3.1.2"/> to an unhandled namespace response.
      The object that will be used in the examples is a domain name object <xref target="RFC5731" format="default"/>.</t>
      <t keepWithNext="true">Below is a domain name &lt;info&gt; &lt;poll&gt; response <xref target="RFC5731" format="default"/> with the unhandled &lt;changePoll:changeData&gt; element <xref target="RFC8590" format="default"/> included under an &lt;extValue&gt; element.</t>
<sourcecode type="xml"><![CDATA[
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
S:  <response>
S:    <result code="1301">
S:      <msg lang="en-US">
S:        Command completed successfully; ack to dequeue</msg>
S:      <extValue>
S:        <value>
S:          <changePoll:changeData
S:           xmlns:changePoll="urn:ietf:params:xml:ns:changePoll-1.0"
S:           state="after">
S:            <changePoll:operation>update</changePoll:operation>
S:            <changePoll:date>
S:              2013-10-22T14:25:57.0Z</changePoll:date>
S:            <changePoll:svTRID>12345-XYZ</changePoll:svTRID>
S:            <changePoll:who>URS Admin</changePoll:who>
S:            <changePoll:caseId type="urs">urs123
S:            </changePoll:caseId>
S:            <changePoll:reason>URS Lock</changePoll:reason>
S:          </changePoll:changeData>
S:        </value>
S:        <reason>
S:        urn:ietf:params:xml:ns:changePoll-1.0 not in login services
S:        </reason>
S:      </extValue>
S:    </result>
S:    <msgQ count="201" id="1">
S:      <qDate>2013-10-22T14:25:57.0Z</qDate>
S:      <msg>Registry initiated update of domain.</msg>
S:    </msgQ>
S:    <resData>
S:      <domain:infData
S:        xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
S:        <domain:name>domain.example</domain:name>
S:        <domain:roid>EXAMPLE1-REP</domain:roid>
S:        <domain:status s="ok"/>
S:        <domain:registrant>jd1234</domain:registrant>
S:        <domain:contact type="admin">sh8013</domain:contact>
S:        <domain:contact type="tech">sh8013</domain:contact>
S:        <domain:clID>ClientX</domain:clID>
S:        <domain:crID>ClientY</domain:crID>
S:        <domain:crDate>2012-04-03T22:00:00.0Z</domain:crDate>
S:        <domain:exDate>2014-04-03T22:00:00.0Z</domain:exDate>
S:      </domain:infData>
S:    </resData>
S:    <trID>
S:      <clTRID>ABC-12345</clTRID>
S:      <svTRID>54322-XYZ</svTRID>
S:    </trID>
S:  </response>
S:</epp>
]]></sourcecode>
      <t keepWithNext="true">Below is an unhandled domain name &lt;info&gt; &lt;poll&gt; response <xref target="RFC5731" format="default"/> and the unhandled
      &lt;changePoll:changeData&gt; element <xref target="RFC8590" format="default"/> included under an &lt;extValue&gt; element.</t>
<sourcecode type="xml"><![CDATA[
S:<?xml version="1.0" encoding="UTF-8" standalone="no"?>
S:<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
S:  <response>
S:    <result code="1301">
S:      <msg>Command completed successfully; ack to dequeue</msg>
S:      <extValue>
S:        <value>
S:          <domain:infData
S:            xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
S:            <domain:name>domain.example</domain:name>
S:            <domain:roid>EXAMPLE1-REP</domain:roid>
S:            <domain:status s="ok"/>
S:            <domain:registrant>jd1234</domain:registrant>
S:            <domain:contact type="admin">sh8013</domain:contact>
S:            <domain:contact type="tech">sh8013</domain:contact>
S:            <domain:clID>ClientX</domain:clID>
S:            <domain:crID>ClientY</domain:crID>
S:            <domain:crDate>2012-04-03T22:00:00.0Z</domain:crDate>
S:            <domain:exDate>2014-04-03T22:00:00.0Z</domain:exDate>
S:          </domain:infData>
S:        </value>
S:        <reason>
S:          urn:ietf:params:xml:ns:domain-1.0 not in login services
S:        </reason>
S:      </extValue>
S:      <extValue>
S:        <value>
S:          <changePoll:changeData
S:            xmlns:changePoll=
S:              "urn:ietf:params:xml:ns:changePoll-1.0"
S:            state="after">
S:            <changePoll:operation>update</changePoll:operation>
S:            <changePoll:date>
S:              2013-10-22T14:25:57.0Z</changePoll:date>
S:            <changePoll:svTRID>12345-XYZ</changePoll:svTRID>
S:            <changePoll:who>URS Admin</changePoll:who>
S:            <changePoll:caseId type="urs">urs123
S:            </changePoll:caseId>
S:            <changePoll:reason>URS Lock</changePoll:reason>
S:          </changePoll:changeData>
S:        </value>
S:        <reason>
S:        urn:ietf:params:xml:ns:changePoll-1.0 not in login services
S:        </reason>
S:      </extValue>
S:    </result>
S:    <msgQ count="201" id="1">
S:      <qDate>2013-10-22T14:25:57.0Z</qDate>
S:      <msg>Registry initiated update of domain.</msg>
S:    </msgQ>
S:    <trID>
S:      <clTRID>ABC-12345</clTRID>
S:      <svTRID>54322-XYZ</svTRID>
S:    </trID>
S:  </response>
S:</epp>
]]></sourcecode>
    </section>
    <section anchor="ImplementationConsiderations" numbered="true" toc="default">
      <name>Implementation Considerations</name>
      <t>There are implementation considerations for the client and the server to help address
        the risk of the client ignoring unhandled namespace information included in an EPP response
        that is needed to meet technical, policy, or legal requirements.
      </t>
      <section anchor="ClientImplementationConsiderations" numbered="true" toc="default">
        <name>Client Implementation Considerations</name>
        <t>To reduce the likelihood of a client receiving unhandled namespace information, the
          client should consider implementing the following:</t>
          <ol spacing="normal">
            <li>Ensure that the client presents the complete set of what it supports when presenting its login services.
              If there are gaps between the services supported by the client and the login
              services included in the login command, the client may
              receive unhandled namespace information that the client could have supported.
            </li>
            <li>Support all of the services included in the server greeting services that
              may be included in an EPP response, including the &lt;poll&gt; responses.
              The client should evaluate the gaps between the greeting services and the
              login services provided in the login command to identify extensions that need
              to be supported.</li>
            <li>Proactively monitor for unhandled namespace information in the EPP
            responses by looking for the inclusion of the &lt;extValue&gt; element in
            successful responses, record the unsupported namespace included in the
            &lt;reason&gt; element, and record the unhandled namespace information included in the
            &lt;value&gt; element for later processing.  The unhandled namespace should be implemented
            by the client to ensure that information is processed fully in future EPP responses.</li>
          </ol>
      </section>
      <section anchor="ServerImplementationConsiderations" numbered="true" toc="default">
        <name>Server Implementation Considerations</name>
        <t>To assist the clients in recognizing unhandled namespaces, the server should consider implementing the following:</t>
        <ol spacing="normal" type="1">
            <li>Monitor for returning unhandled namespace information to clients and report it
              to the clients out of band to EPP, so the clients can add support for
              the unhandled namespaces.</li>
            <li>Look for the unhandled namespace support in the login services when
              returning optional unhandled namespace information in general EPP responses.</li>
          </ol>
      </section>
    </section>
    <section anchor="IANA" numbered="true" toc="default">
      <name>IANA Considerations</name>
      <section anchor="IANA-XML-Namespace" numbered="true" toc="default">
        <name>XML Namespace</name>
        <t>
             This document uses URNs to describe XML namespaces
             conforming to a registry mechanism described in <xref target="RFC3688" format="default"/>.
             The following URI assignment has been made by IANA.
        </t>
        <dl newline="false" spacing="compact">
          <dt>URI:</dt> 
	  <dd>urn:ietf:params:xml:ns:epp:unhandled-namespaces-1.0</dd>
          <dt>Registrant Contact:</dt>
	  <dd>IESG</dd>
          <dt>XML:</dt> 
	  <dd>None. Namespace URIs do not represent an XML specification.</dd>
        </dl>
      </section>
      <section anchor="EPP-Extension-Registry" numbered="true" toc="default">
        <name>EPP Extension Registry</name>
        <t>
   The EPP operational practice described in this document has been registered by
   IANA in the "Extensions for the Extensible Provisioning Protocol (EPP)" registry described in <xref target="RFC7451" format="default"/>.  The
   details of the registration are as follows:
        </t>
        <dl newline="false" spacing="compact">
	  <dt>Name of Extension:</dt> 
	  <dd>"Extensible Provisioning Protocol (EPP) Unhandled Namespaces"</dd>
	  <dt>Document Status:</dt> 
	  <dd>Standards Track</dd>
	  <dt>Reference:</dt> 
	  <dd>RFC 9038</dd>
	  <dt>Registrant:</dt> 
	  <dd>IETF, &lt;iesg@ietf.org&gt;</dd>
	  <dt>TLDs:</dt> 
	  <dd>Any</dd>
	  <dt>IPR Disclosure:</dt> 
	  <dd>None</dd>
	  <dt>Status:</dt> 
	  <dd>Active</dd>
	  <dt>Notes:</dt> 
	  <dd>None</dd>
        </dl>
      </section>
    </section>
    <section anchor="Security" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>This document does not provide any
      security services beyond those described by <xref target="RFC5730" format="default">EPP</xref> and protocol layers used by EPP. The security
      considerations described in these other specifications apply to this
      specification as well.  Since the unhandled namespace content is XML that is not processed in the first pass by the XML parser,
      the client <bcp14>SHOULD</bcp14> validate the XML when the content is processed to protect against the inclusion of malicious content.</t>
    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3688.xml"/>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5234.xml"/>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5730.xml"/>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5731.xml"/>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>



<reference anchor='W3C.REC-xml11-20060816'
           target='https://www.w3.org/TR/2006/REC-xml11-20060816'>
<front>
<title>Extensible Markup Language (XML) 1.1 (Second Edition)</title>

<author initials='T.' surname='Bray' fullname='Tim Bray'>
    <organization />
</author>

<author initials='J.' surname='Paoli' fullname='Jean Paoli'>
    <organization />
</author>

<author initials='M.' surname='Sperberg-McQueen' fullname='Michael Sperberg-McQueen'>
    <organization />
</author>

<author initials='E.' surname='Maler' fullname='Eve Maler'>
    <organization />
</author>

<author initials='F.' surname='Yergeau' fullname='François Yergeau'>
    <organization />
</author>

<author initials='J.' surname='Cowan' fullname='John Cowan'>
    <organization />
</author>

<date month='August' day='16' year='2006' />
</front>

<seriesInfo name='World Wide Web Consortium Recommendation' value='REC-xml11-20060816' />
<format type='HTML' target='https://www.w3.org/TR/2006/REC-xml11-20060816' />
</reference>

	
      </references>
      <references>
        <name>Informative References</name>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3735.xml"/>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3915.xml"/>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5910.xml"/>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7451.xml"/>

        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8590.xml"/>

      </references>
    </references>

    <section anchor="Acknowledgements" numbered="false" toc="default">
      <name>Acknowledgements</name>
      <t>The authors wish to thank the following people for their feedback and suggestions:
        <contact fullname="Thomas Corte"/>,
        <contact fullname="Scott Hollenbeck"/>,
        <contact fullname="Patrick Mevzek"/>,
        and <contact fullname="Marcel Parodi"/>.
      </t>
    </section>
  </back>
</rfc>
