From f6d1839e909db3578670229fc9a6f56b18a034e6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 23 Sep 2007 07:21:51 +0000 Subject: [PATCH] Added MARC-8 encoded Arabic record, marc9.marc, to test that blanks are preserved. Added UTF-8 encoded Chinese record, marccol3.u8.marc, which has the Ideographic space sequence it. --- test/Makefile.am | 4 +- test/marc9.chr | 1 + test/marc9.marc | 1 + test/marc9.xml | 155 ++++++++++++++++++++++++++++++++++++++++++++++++ test/marc9.xml.marc | 1 + test/marccol3.u8.1.lst | 29 +++++++++ test/marccol3.u8.2.lst | 29 +++++++++ test/marccol3.u8.marc | 1 + 8 files changed, 220 insertions(+), 1 deletion(-) create mode 100644 test/marc9.chr create mode 100644 test/marc9.marc create mode 100644 test/marc9.xml create mode 100644 test/marc9.xml.marc create mode 100644 test/marccol3.u8.1.lst create mode 100644 test/marccol3.u8.2.lst create mode 100644 test/marccol3.u8.marc diff --git a/test/Makefile.am b/test/Makefile.am index 8fcdc41..b6ed006 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,6 +1,6 @@ ## Copyright (C) 1995-2007, Index Data ApS ## All rights reserved. -## $Id: Makefile.am,v 1.35 2007-06-24 19:27:12 adam Exp $ +## $Id: Makefile.am,v 1.36 2007-09-23 07:21:51 adam Exp $ check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \ tstsoap1 tstsoap2 tstodrstack tstlogthread tstxmlquery tstpquery \ @@ -21,8 +21,10 @@ EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \ marc6.marc marc6.xml marc6.chr marc6.xml.marc \ marc7.marc marc7.xml marc7.chr marc7.xml.marc \ marc8.marc marc8.xml marc8.chr marc8.xml.marc \ + marc9.marc marc9.xml marc9.chr marc9.xml.marc \ marccol1.u8.marc marccol1.u8.1.lst marccol1.u8.2.lst \ marccol2.u8.marc marccol2.u8.1.lst marccol2.u8.2.lst \ + marccol3.u8.marc marccol3.u8.1.lst marccol3.u8.2.lst \ tst_record_conv.xsl YAZCOMP = ../util/yaz-asncomp diff --git a/test/marc9.chr b/test/marc9.chr new file mode 100644 index 0000000..f51f8e4 --- /dev/null +++ b/test/marc9.chr @@ -0,0 +1 @@ +marc-8 diff --git a/test/marc9.marc b/test/marc9.marc new file mode 100644 index 0000000..16bf71e --- /dev/null +++ b/test/marc9.marc @@ -0,0 +1 @@ +02075cas 22005055a 4500001001300000003000400013005001700017008004100034010001700075012003100092035002100123906004500144040001800189041001300207042000700220043001200227050001500239066000700254245007900261246002600340246004600366260009800412300002500510310002700535362004100562490008800603500004700691500005700738546003600795650004700831650002600878650002700904650004100931710007700972710004001049850000801089880007801097880004801175880008601223880005301309880007001362880006301432880004601495936002801541 2005336282DLC20070911033614.0070910c20059999mr uu p f0 0ara  a 2005336282 a-3-7-0709110002-p-----  a(OCoLC)170490164 a7bundcserialsduencipf19gn-oclcserc aDLCcDLCdDLC0 aaraafre alc af-mr---00aIN PROCESS c(3006880-01aQaòdåa® al-usrah :bmajallah mutakhaòsòsiòsah /cWizåarat al-°Adl.13aJustice de la famille136880-02aMajallat Qaòdåa® al-usrahf<2006> 6880-03aal-Rabåaòt :bJam°åiyat Nashr al-Ma°låumah al-Qåanåunåiyah wa-al-Qaòdåa®åiyah,c2005- av. :bill. ;c24 cm. aIrregular (semiannual)0 6880-04aal-°Adad 1. (Yåulyåuz 2005)-0 6880-05aManshåuråat Jam°åiyat Nashr al-Ma°låumah al-Qåanåunåiyah wa-al-Qaòdåa®åiyah aSome issues have also a distinctive title. aLatest issue consulted: al-°Adad 3. (Dujanbir 2006). aChiefly in Arabic; some French. 0aDomestic relations (Islamic law)zMorocco. 0aDivorce (Islamic law) 0aMarriage lawzMorocco. 0aLaw reports, digests, etc.zMorocco.2 6880-06aJam°åiyat Nashr al-Ma°låumah al-Qåanåunåiyah wa-al-Qaòdåa®åiyah.1 6880-07aMorocco.bWizåarat al-°Adl. aDLC006245-01/(3/ra(3bVGA GdCSQI :(Bb(3eLdI eJNUUI /(Bc(3hRGQI GdYOd.(B136246-02/(3/ra(3eLdI bVGA GdCSQI(Bf<2006> 6260-03/(3/ra(3GdQHGW :(Bb(3LeYjI fTQ GdeYdheI GdbGfhfjI hGdbVGFjI,(Bc2005-0 6362-04/(3/ra(3GdYOO (B1. ((3jhdjhR (B2005)-0 6490-05/(3/ra(3efThQGJ LeYjI fTQ GdeYdheI GdbGfhfjI hGdbVGFjI(B2 6710-06/(3/ra(3LeYjI fTQ GdeYdheI GdbGfhfjI hGdbVGFjI.(B1 6710-07/(3/raMorocco.b(3hRGQI GdYOd.(B aLC Cairo Office [we 45] \ No newline at end of file diff --git a/test/marc9.xml b/test/marc9.xml new file mode 100644 index 0000000..d7ed2a5 --- /dev/null +++ b/test/marc9.xml @@ -0,0 +1,155 @@ + + 02075cas a22005055a 4500 + 2005336282 + DLC + 20070911033614.0 + 070910c20059999mr uu p f0 0ara + + 2005336282 + + + -3-7-0709110002-p----- + + + (OCoLC)170490164 + + + 7 + und + serials + u + ncip + 19 + n-oclcserc + + + DLC + DLC + DLC + + + ara + fre + + + lc + + + f-mr--- + + + IN PROCESS + + + (3 + + + 880-01 + QadÌ£āʼ al-usrah : + majallah mutakhasÌ£sÌ£isÌ£ah / + Wizārat al-Ê»Adl. + + + Justice de la famille + + + 880-02 + Majallat QadÌ£āʼ al-usrah + <2006> + + + 880-03 + al-RabātÌ£ : + JamÊ»īyat Nashr al-MaÊ»lūmah al-Qānūnīyah wa-al-QadÌ£āʼīyah, + 2005- + + + v. : + ill. ; + 24 cm. + + + Irregular (semiannual) + + + 880-04 + al-Ê»Adad 1. (Yūlyūz 2005)- + + + 880-05 + Manshūrāt JamÊ»īyat Nashr al-MaÊ»lūmah al-Qānūnīyah wa-al-QadÌ£āʼīyah + + + Some issues have also a distinctive title. + + + Latest issue consulted: al-Ê»Adad 3. (Dujanbir 2006). + + + Chiefly in Arabic; some French. + + + Domestic relations (Islamic law) + Morocco. + + + Divorce (Islamic law) + + + Marriage law + Morocco. + + + Law reports, digests, etc. + Morocco. + + + 880-06 + JamÊ»īyat Nashr al-MaÊ»lūmah al-Qānūnīyah wa-al-QadÌ£āʼīyah. + + + 880-07 + Morocco. + Wizārat al-Ê»Adl. + + + DLC + + + 245-01/(3/r + قضاء الأسرة : + مجلة متخصصة / + وزارة العدل. + + + 246-02/(3/r + مجلة قضاء الأسرة + <2006> + + + 260-03/(3/r + الرباط : + جمعية نشر المعلومة القانونية والقضائية، + 2005- + + + 362-04/(3/r + العدد 1. (يوليوز 2005)- + + + 490-05/(3/r + منشورات جمعية نشر المعلومة القانونية والقضائية + + + 710-06/(3/r + جمعية نشر المعلومة القانونية والقضائية. + + + 710-07/(3/r + Morocco. + وزارة العدل. + + + LC Cairo Office [we 45] + + diff --git a/test/marc9.xml.marc b/test/marc9.xml.marc new file mode 100644 index 0000000..9880e30 --- /dev/null +++ b/test/marc9.xml.marc @@ -0,0 +1 @@ +02244cas a22005055a 4500001001300000003000400013005001700017008004100034010001700075012003100092035002100123906004500144040001800189041001300207042000700220043001200227050001500239066000700254245008700261246002600348246004900374260011100423300002500534310002700559362004400586490010100630500004700731500005800778546003600836650004700872650002600919650002700945650004100972710008801013710004201101850000801143880009001151880005601241880011501297880005201412880010501464880009101569880005001660936002801710 2005336282DLC20070911033614.0070910c20059999mr uu p f0 0ara  a 2005336282 a-3-7-0709110002-p-----  a(OCoLC)170490164 a7bundcserialsduencipf19gn-oclcserc aDLCcDLCdDLC0 aaraafre alc af-mr---00aIN PROCESS c(3006880-01aQadÌ£āʼ al-usrah :bmajallah mutakhasÌ£sÌ£isÌ£ah /cWizārat al-Ê»Adl.13aJustice de la famille136880-02aMajallat QadÌ£āʼ al-usrahf<2006> 6880-03aal-RabātÌ£ :bJamÊ»īyat Nashr al-MaÊ»lūmah al-Qānūnīyah wa-al-QadÌ£āʼīyah,c2005- av. :bill. ;c24 cm. aIrregular (semiannual)0 6880-04aal-Ê»Adad 1. (Yūlyūz 2005)-0 6880-05aManshūrāt JamÊ»īyat Nashr al-MaÊ»lūmah al-Qānūnīyah wa-al-QadÌ£āʼīyah aSome issues have also a distinctive title. aLatest issue consulted: al-Ê»Adad 3. (Dujanbir 2006). aChiefly in Arabic; some French. 0aDomestic relations (Islamic law)zMorocco. 0aDivorce (Islamic law) 0aMarriage lawzMorocco. 0aLaw reports, digests, etc.zMorocco.2 6880-06aJamÊ»īyat Nashr al-MaÊ»lūmah al-Qānūnīyah wa-al-QadÌ£āʼīyah.1 6880-07aMorocco.bWizārat al-Ê»Adl. aDLC006245-01/(3/raقضاء الأسرة :bمجلة متخصصة /cوزارة العدل.136246-02/(3/raمجلة قضاء الأسرةf<2006> 6260-03/(3/raالرباط :bجمعية نشر المعلومة القانونية والقضائية،c2005-0 6362-04/(3/raالعدد 1. (يوليوز 2005)-0 6490-05/(3/raمنشورات جمعية نشر المعلومة القانونية والقضائية2 6710-06/(3/raجمعية نشر المعلومة القانونية والقضائية.1 6710-07/(3/raMorocco.bوزارة العدل. aLC Cairo Office [we 45] \ No newline at end of file diff --git a/test/marccol3.u8.1.lst b/test/marccol3.u8.1.lst new file mode 100644 index 0000000..400f0e8 --- /dev/null +++ b/test/marccol3.u8.1.lst @@ -0,0 +1,29 @@ +01313cam a2200349ua 4500 +001 82129893 +003 DLC +005 20070808062021.0 +008 841102s1980 cc a 000 0 chi +035 $a (DLC)5011703 +010 $a 82129893 +035 $a (CStRLIN)DCLP84-B3561 +040 $a DLC-R $c DLC-R $d CStRLIN $d DLC +050 00 $a TL546.7 $b .S48 1980 +066 $c $1 +082 00 $a 629.4 $2 19 +100 1 $6 880-01 $a Shen, Guoliang. +245 10 $6 880-02 $a Yu zhou hang xing he shu li hua / $c Shen Guoliang wen ; Chen Genxiang tu. +250 $6 880-03 $a Di 1 ban. +260 $6 880-04 $a [Canton] : $b Guangdong ren min chu ban she : $b Guangdong sheng xin hua shu dian fa xing, $c 1980. +300 $a 199 p. : $b ill. ; $c 19 cm. +440 0 $6 880-05 $a Ke xue zhi shi pu ji cong shu +650 0 $a Astronautics $x Popular works. +700 1 $6 880-06 $a Chen, Genxiang. +880 1 $6 100-01/1 $a 沈 国良. +880 10 $6 245-02/1 $a 宇宙 航行 和 数理化 / $c 沈 国良 文 ; 陈 根祥 图. +880 $6 250-03/1 $a 第1版. +880 $6 260-04/1 $a [Canton] : $b 广东 人民 出版社 : $b 广东省 新華 書店 发行, $c 1980. +880 0 $6 440-05/1 $a 科学 知识 普及 丛书 +880 1 $6 700-06/1 $a 陈 根祥. +906 $a 0 $b cbc $c orignew $d u $e ncip $f 19 $g y-rlinjack +985 $a spacingreload + diff --git a/test/marccol3.u8.2.lst b/test/marccol3.u8.2.lst new file mode 100644 index 0000000..b3a9b15 --- /dev/null +++ b/test/marccol3.u8.2.lst @@ -0,0 +1,29 @@ +01373cam a2200349ua 4500 +001 82129893 +003 DLC +005 20070808062021.0 +008 841102s1980 cc a 000 0 chi +035 $a (DLC)5011703 +010 $a 82129893 +035 $a (CStRLIN)DCLP84-B3561 +040 $a DLC-R $c DLC-R $d CStRLIN $d DLC +050 00 $a TL546.7 $b .S48 1980 +066 $c $1 +082 00 $a 629.4 $2 19 +100 1 $6 880-01 $a Shen, Guoliang. +245 10 $6 880-02 $a Yu zhou hang xing he shu li hua / $c Shen Guoliang wen ; Chen Genxiang tu. +250 $6 880-03 $a Di 1 ban. +260 $6 880-04 $a [Canton] : $b Guangdong ren min chu ban she : $b Guangdong sheng xin hua shu dian fa xing, $c 1980. +300 $a 199 p. : $b ill. ; $c 19 cm. +440 0 $6 880-05 $a Ke xue zhi shi pu ji cong shu +650 0 $a Astronautics $x Popular works. +700 1 $6 880-06 $a Chen, Genxiang. +880 1 $6 100-01/1 $a 沈 国良. +880 10 $6 245-02/1 $a 宇宙 航行 和 数理化 / $c 沈 国良 文 ; 陈 根祥 图. +880 $6 250-03/1 $a 第1版. +880 $6 260-04/1 $a [Canton] : $b 广东 人民 出版社 : $b 广东省 新華 書店 发行, $c 1980. +880 0 $6 440-05/1 $a 科学 知识 普及 丛书 +880 1 $6 700-06/1 $a 陈 根祥. +906 $a 0 $b cbc $c orignew $d u $e ncip $f 19 $g y-rlinjack +985 $a spacingreload + diff --git a/test/marccol3.u8.marc b/test/marccol3.u8.marc new file mode 100644 index 0000000..ae1defa --- /dev/null +++ b/test/marccol3.u8.marc @@ -0,0 +1 @@ +01313cam a2200349ua 450000100090000000300040000900500170001300800410003003500170007101000170008803500260010504000310013105000230016206600070018508200140019210000280020624500850023425000220031926001060034130000290044744000420047665000330051870000280055188000280057988000920060788000230069988001020072288000480082488000280087290600450090098500180094582129893DLC20070808062021.0841102s1980 cc a 000 0 chi  a(DLC)5011703 a 82129893  a(CStRLIN)DCLP84-B3561 aDLC-RcDLC-RdCStRLINdDLC00aTL546.7b.S48 1980 c$100a629.42191 6880-01aShen, Guoliang.106880-02aYu zhou hang xing he shu li hua /cShen Guoliang wen ; Chen Genxiang tu. 6880-03aDi 1 ban. 6880-04a[Canton] :bGuangdong ren min chu ban she :bGuangdong sheng xin hua shu dian fa xing,c1980. a199 p. :bill. ;c19 cm. 06880-05aKe xue zhi shi pu ji cong shu 0aAstronauticsxPopular works.1 6880-06aChen, Genxiang.1 6100-01/1a沈 国良.106245-02/1a宇宙 航行 和 数理化 /c沈 国良 文 ; 陈 根祥 图. 6250-03/1a第1版. 6260-04/1a[Canton] :b广东 人民 出版社 :b广东省 新華 書店 发行,c1980. 06440-05/1a科学 知识 普及 丛书1 6700-06/1a陈 根祥. a0bcbccorignewduencipf19gy-rlinjack aspacingreload \ No newline at end of file -- 1.7.10.4