Name

Name ::= Component*
Component ::= BLOB

A Name element represents a hierarchical name for CCNx content. It simply contains a sequence of Component elements. Each Component element contains a sequence of zero or more bytes. There are no restrictions on what byte sequences may be used. The encoding of a zero byte Component omits the zero length BLOB.

The Name element in an Interest is often referred to with the term name prefix or simply prefix.

URI Representation

It is often convenient to use a URI Representation for a CCNx Name.

XML Presentation

There are no restrictions on what byte sequences may be used in a Component, so when displayed as XML, a base64Binary or hexBinary encoding may be needed. When the bytes happen to be printable UTF-8, a more human-friendly "text" alternative is available. (Note that the text and hexBinary options are not currently not shown in the official schema.)

The Name element plays a pivotal role in both the Interest and ContentObject element. See the Interest Message Example for an example of encodings of a CCNx Name.