citation-style-language / documentation

Citation Style Language documentation
http://citationstyles.org/
Creative Commons Attribution Share Alike 4.0 International
42 stars 21 forks source link

Spec incorrectly disallows use of <label/> before <name/> #45

Closed rmzelle closed 4 years ago

rmzelle commented 7 years ago

Compare https://github.com/citation-style-language/schema/blob/v1.0.1/csl.rnc#L423:

  rendering-element.names =
    element cs:names {
      names.attributes,
      ((names.name?, names.et-al?) & names.label*),
      names.substitute?
}

with http://docs.citationstyles.org/en/stable/specification.html#label-in-cs-names:

The optional cs:label element (see label) must be included after the cs:name and cs:et-al elements, but before the cs:substitute element.

(mismatch first identified in https://github.com/citation-style-language/styles/pull/2389#discussion_r94197372)