Skip to content

Contradiction in TraceState format description #576

@xrfang

Description

@xrfang

Section 3.3.1.3.1 Key says:

The key identifies the tracestate entry.

key = simple-key / multi-tenant-key
simple-key = lcalpha 0255( lcalpha / DIGIT / "_" / "-"/ "" / "/" )
multi-tenant-key = tenant-id "@" system-id
tenant-id = ( lcalpha / DIGIT ) 0240( lcalpha / DIGIT / "_" / "-"/ "" / "/" )
system-id = lcalpha 013( lcalpha / DIGIT / "_" / "-"/ "" / "/" )
lcalpha = %x61-7A ; a-z

Note: Identifiers MUST begin with a lowercase letter or a digit, and can only contain lowercase letters (a-z), digits (0-9), underscores (_), dashes (-), asterisks (*), and forward slashes (/).

The ABNF mandates that simple-key must start with lcalpha, but the note says identifiers can be either a lower case letter and a DIGIT.

url of the document: https://www.w3.org/TR/trace-context/#key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions