json-ld / yaml-ld

CG specification for YAML-LD and UCR
https://json-ld.github.io/yaml-ld/spec
Other
19 stars 8 forks source link

Replace "named anchor" with "node anchor" #71

Closed gkellogg closed 1 year ago

gkellogg commented 1 year ago

as "named anchor" isn't something actually defined in YAML.


Preview | Diff

ioggstream commented 1 year ago

@gkellogg good catch! I'd use "anchor names" when referring to the names (e.g. wrt that names are a serialization detail) and "node anchors" in other cases. Fixed in yaml too https://github.com/ietf-wg-httpapi/mediatypes/pull/61

gkellogg commented 1 year ago

@gkellogg good catch! I'd use "anchor names" when referring to the names (e.g. wrt that names are a serialization detail) and "node anchors" in other cases. Fixed in yaml too ietf-wg-httpapi/mediatypes#61

Note that "anchor names" aren't actually a defined term in YAML, but an artifact of a "node anchor". Without defining a term for it, the language probably needs to be revised a bit more.

gkellogg commented 1 year ago

I went ahead and made both "anchor name" and "anchored node" aliases for "node anchor" and updated text to read more closely to that from YAML.