Skip to content

Better explain the use of attributes that do the same thing #2744

@joeytakeda

Description

@joeytakeda

This arises out of the #2653, which adapted the remark for @key and @ref to discourage the simultaneous use of @ed and @edRef. I'm wondering if we should have a principled approach -- or at least some better discussion -- of these kinds of attributes: attributes that do more-or-less the same thing, but one points specifically at a thing and one uses a token.

A non-comprehensive list of these (from a quick look through Appendix D):

  • @ed and @edRef
  • @key and @ref
  • @rend and @rendition
  • @lemma and @lemmaRef
  • @script and @scriptRef
  • @scribe and @scribeRef
  • @unit and @unitRef

By and large, the guidance has been "We don't know what it means if both are used, but if you want to use both, then document what it means to you," but how this has been expressed varies: sometimes using schematron, sometimes remarks, and sometimes saying nothing at all.

Of course, these may not all be the same kind of thing, but for ones that are, it would be nice to have some sort of broad guidance about these kinds of attributes (and possible some sort of term for the kinds of pairings, but I can't think of a nice name for them) that outlines why the GLs have both, that the GLs have no real guidance about what it means to use both, and some guidelines about how encoders ought to document it if they decide to use both.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions