Skip to content

Handling @context in Create Term Definition #621

Open
@multimeric

Description

@multimeric

I have some concerns about section 21 of 4.2 Create Term Definition algorithm:

It doesn't make sense to me for a few reasons:

  1. In 21.4 we set the "local context" of a term definition. However a term definition only has a property called "context" and not "local context", as defined in section 4.1 Context Processing Algorithm
  2. The context variable which we pull from the @context key is, at this stage, just a map. It doesn't become a context object until we execute the context processing algorithm on it. However, we throw away the result of this algorithm in 21.3 and instead just set the term definition's context to context in 21.4, which is the "raw" unprocessed version. The same section as above specifies that the type of context for a Term Definition is context, which to me means a processed context, the result of the context processing algorithm.

Therefore I think the fix is to remove the "note" from this section, and instead assign term_definition.context = create_term_definition(context, ...). Happy to put in a PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Errata

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions