Skip to content

Primer, sec. "cs:info Element" and sec. "cs:bibliography Element" are not valid CSL #150

@lucabalsanelli

Description

@lucabalsanelli

Primer, sec. "cs:info Element" and sec. "cs:bibliography Element" are not valid CSL according to https://validator.citationstyles.org/, for 2 errors.

  1. This
<info>
  <--! omissis -->
  <category citation-format="author-date"/>
  <category field="science">
  <--! omissis -->
</info>

should be (issue: end tag)

<info>
  <--! omissis -->
  <category citation-format="author-date"/>
  <category field="science"/>
  <--! omissis -->
</info>
  1. and this
<bibliography>
  <!-- omissis -->
  <layout suffix="." delimiter=", ">
    <group delimiter=". ">
      <!-- omissis -->
    </group>
    <group>
      <!-- omissis -->
    </group>
    <text variable="page"/>
  </layout>
</bibliography>

should be (issue delimiter attribute in cs:layout element)

<bibliography>
  <!-- omissis -->
  <layout suffix=".">
    <group delimiter=", ">
      <group delimiter=". ">
        <!-- omissis -->
      </group>
      <group>
        <!-- omissis -->
      </group>
      <text variable="page"/>
    </group>
  </layout>
</bibliography>

I wanted to edit in place but I didn't know which branch since it's not possible on master.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions