Sha256: ae708eccdd1991a60a298a7177a3bf776d93634a0091ec15b8a2e300206ea7e6

Contents?: true

Size: 951 Bytes

Versions: 4

Compression:

Stored size: 951 Bytes

Contents

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

  @citation @name
  Scenario: Overriding Hierarchical Delimiter
    Given the following style:
    """
    <style 
          xmlns="http://purl.org/net/xbiblio/csl"
          class="note"
          version="1.0"
          name-delimiter="/">
      <info>
        <id />
        <title />
        <updated>2009-08-10T04:49:00+09:00</updated>
      </info>
      <citation name-delimiter="//">
        <layout>
          <names variable="author">
            <name delimiter="///"/>
          </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/OverridingHierarchicalDelimiter.feature
citeproc-1.0.6 features/name/OverridingHierarchicalDelimiter.feature
citeproc-1.0.5 features/name/OverridingHierarchicalDelimiter.feature
citeproc-1.0.4 features/name/OverridingHierarchicalDelimiter.feature