|
12 | 12 | <!-- <x:param name="pConversionAgency">DLC</x:param> --> |
13 | 13 |
|
14 | 14 | <x:scenario label="MARC 490 - Test 01"> |
15 | | - <x:context href="../data/exemplars/text-monograph-series-unmatched490sand830.rdf"/> |
| 15 | + <x:context href="../data/exemplars/raw.text-monograph-series-unmatched490sand830.rdf"/> |
16 | 16 | <x:expect label="generate 800" test="count(//marc:datafield[@tag='490']) = 2"/> |
17 | 17 | <x:expect label="ind1 is 1, because there is a Series 8XX present" |
18 | 18 | test="//marc:datafield[@tag='490'][1]/@ind1 = '1'"/> |
|
40 | 40 | </x:scenario> |
41 | 41 |
|
42 | 42 | <x:scenario label="MARC 490 - Test 03"> |
| 43 | + <x:context href="../data/exemplars/raw.text-monograph-series-490paralleltitle-830-contributors.rdf"/> |
| 44 | + <x:expect label="generate 800" test="count(//marc:datafield[@tag='490']) = 1"/> |
| 45 | + <x:expect label="ind1 is 1, meaning matched with an 8XX" |
| 46 | + test="//marc:datafield[@tag='490'][1]/@ind1 = '1'"/> |
| 47 | + <x:expect label="ind2 default to blank" |
| 48 | + test="//marc:datafield[@tag='490'][1]/@ind2 = ' '"/> |
| 49 | + <x:expect label="$a from label of agent" |
| 50 | + test="//marc:datafield[@tag='490'][1]/marc:subfield[@code='a'][1] = 'Conference proceedings ='"/> |
| 51 | + <x:expect label="$a from label of agent" |
| 52 | + test="//marc:datafield[@tag='490'][1]/marc:subfield[@code='a'][2] = 'Atti di conferenze'"/> |
| 53 | + <x:expect label="$v from seriesEnumeration" |
| 54 | + test="//marc:datafield[@tag='490'][1]/marc:subfield[@code='v'] = 'v. 27'"/> |
| 55 | + </x:scenario> |
| 56 | + |
| 57 | + <!-- Fix in 2.5 |
| 58 | + <x:scenario label="MARC 490 - Test 03.2"> |
43 | 59 | <x:context href="../data/exemplars/text-monograph-series-490paralleltitle-830-contributors.rdf"/> |
44 | 60 | <x:expect label="generate 800" test="count(//marc:datafield[@tag='490']) = 1"/> |
45 | 61 | <x:expect label="ind1 is 1, meaning matched with an 8XX" |
|
53 | 69 | <x:expect label="$v from seriesEnumeration" |
54 | 70 | test="//marc:datafield[@tag='490'][1]/marc:subfield[@code='v'] = 'v. 27'"/> |
55 | 71 | </x:scenario> |
56 | | - |
| 72 | + --> |
57 | 73 | </x:description> |
0 commit comments