Sha256: 6a42f3904aefac3b56bc38bf1b322a1dd92b501211c5a29ff3369e2373a48456

Contents?: true

Size: 1.33 KB

Versions: 4

Compression:

Stored size: 1.33 KB

Contents

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

  @citation @name
  Scenario: Substitute On Group Span Group Span Fail
    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>
        <layout>
          <names variable="editor">
            <name />
            <substitute>
              <names variable="translator" />
              <group>
                <text variable="title" />
                <text value=" (this should appear)" />
              </group>
              <group>
                <text prefix=" aiyeeee! " value="Ooops" />
                <text value=" ... this should NOT appear" />
              </group>
            </substitute>
          </names>
        </layout>
      </citation>
    </style>
    """
    And the following input:
    """
    [{"author":[{"family":"Doe","given":"John","static-ordering":false}],"edition":"5","id":"item-1","issued":{"date-parts":[["2000"]]},"title":"His Anonymous Life","type":"book"}]
    """
    When I cite all items
    Then the result should be:
    """
    His Anonymous Life (this should appear)
    """

Version data entries

4 entries across 4 versions & 1 rubygems

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