File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 298298
299299 <x : scenario label =" MARC 385" >
300300 <x : context href =" ../data/3XX/385.xml" />
301- <x : expect label =" generate 385" test =" count(//marc:datafield[@tag='385']) = 2 " />
301+ <x : expect label =" generate 385" test =" count(//marc:datafield[@tag='385']) = 3 " />
302302 <x : expect label =" ind1 default to blank"
303303 test =" //marc:datafield[@tag='385'][1]/@ind1 = ' '" />
304304 <x : expect label =" ind2 default to blank"
313313 test =" //marc:datafield[@tag='385'][2]/marc:subfield[@code='a'] = 'Youth'" />
314314 <x : expect label =" $2 from source"
315315 test =" //marc:datafield[@tag='385'][2]/marc:subfield[@code='2'] = 'lcsh'" />
316+
317+ <x : expect label =" $0 from URI of intendedAudience"
318+ test =" //marc:datafield[@tag='385'][3]/marc:subfield[@code='0'] = 'http://id.loc.gov/authorities/demographicTerms/dg2015060010'" />
319+ <x : expect label =" $m from demographicGroup"
320+ test =" //marc:datafield[@tag='385'][3]/marc:subfield[@code='m'] = 'Age group'" />
321+ <x : expect label =" $n from demographicGroup with URI"
322+ test =" //marc:datafield[@tag='385'][3]/marc:subfield[@code='n'] = 'age'" />
323+ <x : expect label =" $a from label"
324+ test =" //marc:datafield[@tag='385'][3]/marc:subfield[@code='a'] = 'Children'" />
316325 </x : scenario >
317326
318327 <x : scenario label =" MARC 386" >
You can’t perform that action at this time.
0 commit comments