Sha256: 6f55d5697cec0af36a25268619053dff6a892c9dd73828dc3c71c0a4ec1f57af

Contents?: true

Size: 884 Bytes

Versions: 4

Compression:

Stored size: 884 Bytes

Contents

Feature: name
  As a CSL cite processor hacker
  I want the test name_HierarchicalDelimiter to pass

  @citation @name
  Scenario: Hierarchical Delimiter
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation name-delimiter="; ">
        <layout>
          <names variable="author">
            <name/>
          </names>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Doe","given":"John"},{"family":"Roe","given":"Jane"}],"id":"item-1","title":"Our Anonymous Lives","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    John Doe; Jane Roe
    """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citeproc-1.0.7 features/name/HierarchicalDelimiter.feature
citeproc-1.0.6 features/name/HierarchicalDelimiter.feature
citeproc-1.0.5 features/name/HierarchicalDelimiter.feature
citeproc-1.0.4 features/name/HierarchicalDelimiter.feature