< draft-hartke-t2trg-ciri-02.txt   draft-hartke-t2trg-ciri-03.txt >
Thing-to-Thing Research Group K. Hartke Thing-to-Thing Research Group K. Hartke
Internet-Draft Ericsson Internet-Draft Ericsson
Intended status: Experimental March 11, 2019 Intended status: Experimental July 8, 2019
Expires: September 12, 2019 Expires: January 9, 2020
Constrained Internationalized Resource Identifiers Constrained Internationalized Resource Identifiers
draft-hartke-t2trg-ciri-02 draft-hartke-t2trg-ciri-03
Abstract Abstract
Constrained Internationalized Resource Identifiers are an alternate Constrained Internationalized Resource Identifiers are an alternate
serialization of Uniform Resource Identifiers (URIs) that encodes the serialization of Uniform Resource Identifiers (URIs) that encodes the
URI components in Concise Binary Object Representation (CBOR) instead URI components in Concise Binary Object Representation (CBOR) instead
of a string of characters. This simplifies parsing, reference of a string of characters. This simplifies parsing, reference
resolution, and comparison of URIs in environments with severe resolution, and comparison of URIs in environments with severe
limitations on processing power, code size, and memory size. limitations on processing power, code size, and memory size.
skipping to change at page 1, line 35 skipping to change at page 1, line 35
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on September 12, 2019. This Internet-Draft will expire on January 9, 2020.
Copyright Notice Copyright Notice
Copyright (c) 2019 IETF Trust and the persons identified as the Copyright (c) 2019 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 7, line 12 skipping to change at page 7, line 12
7252). A concise implementation of this algorithm is illustrated 7252). A concise implementation of this algorithm is illustrated
in Section 4.3 of this document. in Section 4.3 of this document.
3. CBOR 3. CBOR
In Concise Binary Object Representation (CBOR) [RFC7049], a sequence In Concise Binary Object Representation (CBOR) [RFC7049], a sequence
of options is encoded as an array that contains the option numbers of options is encoded as an array that contains the option numbers
and option values in alternating order. and option values in alternating order.
The structure can be described in the Concise Data Definition The structure can be described in the Concise Data Definition
Language (CDDL) [I-D.ietf-cbor-cddl] as follows: Language (CDDL) [RFC8610] as follows:
ciri = [?(scheme: 1, text .regexp "[A-Za-z][A-Za-z0-9+.-]*"), ciri = [?(scheme: 1, text .regexp "[A-Za-z][A-Za-z0-9+.-]*"),
?(host.name: 2, text // ?(host.name: 2, text //
host.ip: 3, bytes .size 4 / bytes .size 16), host.ip: 3, bytes .size 4 / bytes .size 16),
?(port: 4, 0..65535), ?(port: 4, 0..65535),
?(path.type: 5, 0..127), ?(path.type: 5, 0..127),
*(path: 6, text), *(path: 6, text),
*(query: 7, text), *(query: 7, text),
?(fragment: 8, text)] ?(fragment: 8, text)]
skipping to change at page 14, line 31 skipping to change at page 14, line 31
Identifiers. Identifiers.
6. IANA Considerations 6. IANA Considerations
This document has no IANA actions. This document has no IANA actions.
7. References 7. References
7.1. Normative References 7.1. Normative References
[I-D.ietf-cbor-cddl]
Birkholz, H., Vigano, C., and C. Bormann, "Concise data
definition language (CDDL): a notational convention to
express CBOR and JSON data structures", draft-ietf-cbor-
cddl-07 (work in progress), February 2019.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997, DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>. <https://www.rfc-editor.org/info/rfc2119>.
[RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform [RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform
Resource Identifier (URI): Generic Syntax", STD 66, Resource Identifier (URI): Generic Syntax", STD 66,
RFC 3986, DOI 10.17487/RFC3986, January 2005, RFC 3986, DOI 10.17487/RFC3986, January 2005,
<https://www.rfc-editor.org/info/rfc3986>. <https://www.rfc-editor.org/info/rfc3986>.
[RFC7049] Bormann, C. and P. Hoffman, "Concise Binary Object [RFC7049] Bormann, C. and P. Hoffman, "Concise Binary Object
Representation (CBOR)", RFC 7049, DOI 10.17487/RFC7049, Representation (CBOR)", RFC 7049, DOI 10.17487/RFC7049,
October 2013, <https://www.rfc-editor.org/info/rfc7049>. October 2013, <https://www.rfc-editor.org/info/rfc7049>.
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
May 2017, <https://www.rfc-editor.org/info/rfc8174>. May 2017, <https://www.rfc-editor.org/info/rfc8174>.
[RFC8610] Birkholz, H., Vigano, C., and C. Bormann, "Concise Data
Definition Language (CDDL): A Notational Convention to
Express Concise Binary Object Representation (CBOR) and
JSON Data Structures", RFC 8610, DOI 10.17487/RFC8610,
June 2019, <https://www.rfc-editor.org/info/rfc8610>.
7.2. Informative References 7.2. Informative References
[RFC5952] Kawamura, S. and M. Kawashima, "A Recommendation for IPv6 [RFC5952] Kawamura, S. and M. Kawashima, "A Recommendation for IPv6
Address Text Representation", RFC 5952, Address Text Representation", RFC 5952,
DOI 10.17487/RFC5952, August 2010, DOI 10.17487/RFC5952, August 2010,
<https://www.rfc-editor.org/info/rfc5952>. <https://www.rfc-editor.org/info/rfc5952>.
[RFC7228] Bormann, C., Ersue, M., and A. Keranen, "Terminology for [RFC7228] Bormann, C., Ersue, M., and A. Keranen, "Terminology for
Constrained-Node Networks", RFC 7228, Constrained-Node Networks", RFC 7228,
DOI 10.17487/RFC7228, May 2014, DOI 10.17487/RFC7228, May 2014,
 End of changes. 6 change blocks. 
11 lines changed or deleted 11 lines changed or added

This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/