Update test for raw show to usmarc rather than xml
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 26 Apr 2010 09:08:32 +0000 (11:08 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 26 Apr 2010 09:08:32 +0000 (11:08 +0200)
test/test_http_25.res
test/test_http_urls

index 6be377d..a2c38de 100644 (file)
@@ -1,7 +1 @@
-<usmarc><tag value="001">   11224467 </tag><tag value="003">DLC</tag><tag value="005">00000000000000.0</tag><tag value="008">910710c19910701nju           00010 eng  </tag><tag value="010"><tag value="  "><a>   11224467 </a></tag></tag><tag value="040"><tag value="  "><a>DLC</a><c>DLC</c></tag></tag><tag value="050"><tag value="00"><a>123-xyz</a></tag></tag><tag value="100"><tag value="10"><a>Jack Collins</a></tag></tag><tag value="245"><tag value="10"><a>How to program a computer</a></tag></tag><tag value="260"><tag value="1 "><a>Penguin</a></tag></tag><tag value="263"><tag value="  "><a>8710</a></tag></tag><tag value="300"><tag value="  "><a>p. cm.</a></tag></tag>
-  <idzebra xmlns="http://www.indexdata.dk/zebra/">
-    <size>366</size>
-    <localnumber>8407</localnumber>
-    <filename>records/marc/sample-marc</filename>
-  </idzebra>
-</usmarc>
\ No newline at end of file
+00362nam  22001698a 4504001001300000003000400013005001700017008004100034010001300075040001300088050001200101100001700113245003000130260001200160263000900172300001100181\1e   11224467 \1eDLC\1e00000000000000.0\1e910710c19910701nju           00010 eng  \1e  \1fa11224467\1e  \1faDLC\1fcDLC\1e00\1fa123-xyz\1e10\1faJack Collins\1e10\1faHow to program a computer\1e\1faPenguin\1e  \1fa8710\1e  \1fap. cm.\1e\1d
\ No newline at end of file
index 3c2fa17..ed377c5 100644 (file)
@@ -22,7 +22,7 @@ http://localhost:9763/search.pz2?session=2&command=search&query=kubiak%20sts%C5%
 http://localhost:9763/search.pz2?session=1&command=search&query=computer
 1 http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book
 http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book&offset=0&binary=1
-http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book&offset=0&binary=1&syntax=xml
+http://localhost:9763/search.pz2?session=1&command=record&id=title+how+to+program+a+computer+author+jack+collins+medium+book&offset=0&binary=1&syntax=usmarc
 http://localhost:9763/search.pz2?command=init&service=gils
 http://localhost:9763/search.pz2?session=3&command=search&query=utah
 2 http://localhost:9763/search.pz2?session=3&command=show&block=1