List Info

Thread: More on the OPACXML response




More on the OPACXML response
user name
2006-03-07 22:15:02
So, I just updated Yaz to 2.1.12 and here's what I get in the yazproxy log when I get opacxml request for that record:

17:09:20-07/03 [log] 0 Set the proxy negotiation: charset to 'none', language to 'none'
17:09:20-07/03 [log] 1141769360:0 New session tcp:127.0.0.1
17:09:20-07/03 [log] 1141769360:0 1 Receiving HTTP Request from client 661 bytes17:09:20-07/03 [log] file_access
17:09:20-07/03 [warn] Voyager?version=1.1&operation=searchRetrieve&query=rec.id%20=%20625646&recordPacking=xml&recordSchema=opacxml&startRecord=1&maximumRecords=1: stat failed [No such file or directory]
17:09:20-07/03 [log] 1141769360:0 1 REUSE 3 gil.gatech.edu:7090
17:09:20-07/03 [log] 0 pre-init GT gil.gatech.edu:7090 use=1 other=0 spare=1 sparew=0 preinit=2
17:09:20-07/03 [log] 1141769360:0 1 implementationId: 81
17:09:20-07/03 [log] 1141769360:0 1 implementationName: YAZ
17:09:20-07/03 [log] 1141769360:0 1 implementationVersion: 2.1.12
17:09:20-07/03 [log] 1141769360:0 1 CQL: rec.id = 625646
17:09:20-07/03 [log] 1141769360:0 1 Search attrset 1.2.840.10003.3.1 attr 5=100 attr 6=1 attr 3=3 attr 4=1 attr 2=3 attr 1=12 "625646"
17:09:20-07/03 [log] 1141769360:0 1 Sending searchRequest to gil.gatech.edu:7090 137 bytes
17:09:20-07/03 [log] 0 Connection accepted by gil.gatech.edu:7090 timeout=300
17:09:20-07/03 [log] 0 Sending initRequest to gil.gatech.edu:7090 50 bytes
17:09:20-07/03 [log] 1141769360:0 1 Receiving searchResponse from gil.gatech.edu:7090 17 bytes
17:09:20-07/03 [log] 1141769360:0 1 1 hits
17:09:20-07/03 [log] 1141769360:0 1 Present default 1+1
17:09:20-07/03 [log] 1141769360:0 1 Sending presentRequest to gil.gatech.edu:7090 28 bytes
17:09:20-07/03 [log] 1141769360:0 1 Receiving presentResponse from gil.gatech.edu:7090 979 bytes
17:09:20-07/03 [warn] XML: Entity: line 38:
17:09:20-07/03 [warn] XML: parser
17:09:20-07/03 [warn] XML: error :
17:09:20-07/03 [warn] XML: Input is not proper UTF-8, indicate encoding !
Bytes: 0xE2 0x69 0x61 0x20

17:09:20-07/03 [warn] XML:   ;  <subfield code=&quot;a"&gt;Garc\uffffia M\uffffarquez, Gabriel,&lt;/subfield>

17:09:20-07/03 [warn] XML:   ; &nbsp; &nbsp; &nbsp; 

Thanks!
-Ross.
More on the OPACXML response
user name
2006-03-08 06:44:28
Ross Singer wrote:
> So, I just updated Yaz to 2.1.12 and here's what I get
in the yazproxy 
> log when I get opacxml request for that record:
> 
> 17:09:20-07/03 [log] 0 Set the proxy negotiation:
charset to 'none', 
> language to 'none'
> 17:09:20-07/03 [log] 1141769360:0 New session
tcp:127.0.0.1 
> <http://127.0.0.1>
> 17:09:20-07/03 [log] 1141769360:0 1 Receiving HTTP
Request from client 
> 661 bytes17:09:20-07/03 [log] file_access
> 17:09:20-07/03 [warn] 
>
Voyager?version=1.1&operation=searchRetrieve&query=r
ec.id%20=%20625646&recordPacking=xml&recordSchema=op
acxml&startRecord=1&maximumRecords=1: 
> stat failed [No such file or directory]
> 17:09:20-07/03 [log] 1141769360:0 1 REUSE 3
gil.gatech.edu:7090 
> <http://gil.gatech.edu:
7090>
> 17:09:20-07/03 [log] 0 pre-init GT gil.gatech.edu:7090 
> <http://gil.gatech.edu:
7090> use=1 other=0 spare=1 sparew=0 preinit=2
> 17:09:20-07/03 [log] 1141769360:0 1 implementationId:
81
> 17:09:20-07/03 [log] 1141769360:0 1 implementationName:
YAZ
> 17:09:20-07/03 [log] 1141769360:0 1
implementationVersion: 2.1.12
> 17:09:20-07/03 [log] 1141769360:0 1 CQL: rec.id <http://rec.id> = 625646
> 17:09:20-07/03 [log] 1141769360:0 1 Search attrset
1.2.840.10003.3.1 
> attr 5=100 attr 6=1 attr 3=3 attr 4=1
attr
2=3 attr 1=12 "625646"
> 17:09:20-07/03 [log] 1141769360:0 1 Sending
searchRequest to 
> gil.gatech.edu:7090 <http://gil.gatech.edu:
7090> 137 bytes
> 17:09:20-07/03 [log] 0 Connection accepted by
gil.gatech.edu:7090 
> <http://gil.gatech.edu:
7090> timeout=300
> 17:09:20-07/03 [log] 0 Sending initRequest to
gil.gatech.edu:7090 
> <http://gil.gatech.edu:
7090> 50 bytes
> 17:09:20-07/03 [log] 1141769360:0 1 Receiving
searchResponse from 
> gil.gatech.edu:7090 <http://gil.gatech.edu:
7090> 17 bytes
> 17:09:20-07/03 [log] 1141769360:0 1 1 hits
> 17:09:20-07/03 [log] 1141769360:0 1 Present default 1+1
> 17:09:20-07/03 [log] 1141769360:0 1 Sending
presentRequest to 
> gil.gatech.edu:7090 <http://gil.gatech.edu:
7090> 28 bytes
> 17:09:20-07/03 [log] 1141769360:0 1 Receiving
presentResponse from 
> gil.gatech.edu:7090 <http://gil.gatech.edu:
7090> 979 bytes
> 17:09:20-07/03 [warn] XML: Entity: line 38:
> 17:09:20-07/03 [warn] XML: parser
> 17:09:20-07/03 [warn] XML: error :
> 17:09:20-07/03 [warn] XML: Input is not proper UTF-8,
indicate encoding !
> Bytes: 0xE2 0x69 0x61 0x20
> 
> 17:09:20-07/03 [warn] XML:     <subfield
code="a">Garc\uffffia 
> M\uffffarquez, Gabriel,</subfield>
> 
> 17:09:20-07/03 [warn] XML:          

Thank for the info.  I'd like to see a copy of your proxy
.xml, ideally 
so that I can connect to it myself.

We don't deal with encoding for OPAC's.. WHen Z39.50
servers do return 
OPAC, what encoding would that be? MARC-8 as in
MARC21/USMARC?

/ Adam

> 
> Thanks!
> -Ross.
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
More on the OPACXML response
user name
2006-03-08 12:56:50
On Wed, 8 Mar 2006, Adam Dickmeiss wrote:

> Thank for the info.  I'd like to see a copy of your
proxy .xml, ideally 
> so that I can connect to it myself.
> 
> We don't deal with encoding for OPAC's.. WHen Z39.50
servers do return 
> OPAC, what encoding would that be? MARC-8 as in
MARC21/USMARC?
> 
> / Adam

FYI, the encoding of the Voyager OPAC record can be in
either MARC-8
or UTF-8 (depending on how the server is configured).  The
Leader/09
will either be blank or "a" depending on the
encoding/server 
configuration.

LC is currently configured for MARC-8.  If you want to point
at us for a 
contrast/comparison, you already have our .xml file. 
Attached are
two versions of the same diacritic test record -- first was
retrieved
by requesting "MARC21" format; the second by
requesting "OPAC" format
(both while server was configured for MARC-8).

Ross may be running UTF-8, but if not let me know and I can
provide
you with address:port of a Voyager server that is.
Larry


------------------------------------------------------------
Larry E. Dixson                    Internet:    ldixloc.gov
Network Development and MARC
   Standards Office, LA327
Library of Congress                Telephone: (202) 707-5807
Washington, D.C.  20540-4402       Fax:       (202) 707-0115
03091cam  2200337 i
450000100090000000500170000900800410002603500100006703500100
007703500100008704000130009790600450011001000170015524500510
017226000190022330000120024250000420025450001670029650001890
046350001610065250001850081350002060099850002380120450002220
144250002070166450001670187150002060203850002080224450001600
24525000141026121268384920051218154744.0981008b2001   
ilu           000 0 eng    a57779  a90490  a93202 
aDLCcDLC  a0bundcorignewduencipf19gy-gencatlg  a
  77123332 00aVoyager Diacritic test -- New input 001
(SBIE)  anybny,c2001.  ap.ccm.  aNew copy imported
from file (8/12/99)  aVOYAGER COLUMN 0  (NEW):  Degree
sign (À);  Phono Copyright mark (Â);  Copyright mark (Ã); 
Sharp (Ä);  Inverted Question mark (Å);  Inverted
Exclamation mark (Æ)  aVOYAGER COLUMN 1:  Script L (Á); 
Polish L (¡);  Scandanavian O (¢);  D with Crossbar (£); 
Icelandic Thorn (¤);  AE Digraph (¥); OE Digraph (¦); 
Miagkii Znak (§);  Dot at Midline (¨)  aVOYAGER COLUMN 2: 
Musical Flat (©);  Patent Mark (ª);  Plus or Minus («);  O
Hook (¬);  U Hook (­);  Alif (®);  alpha (DO NOT USE);  Ayn
(°);  Polish l (±)  aVOYAGER COLUMN 3:  Scandanavian o
(²);  d with crossbar (³);  Icelandic Thorn (´);  ae Digraph
(µ);  oe Digraph (¶);  Tverdii Znak (·);  Turkish i (¸); 
British Pound (¹);  eth (º)  aVOYAGER COLUMN 4:  Dagger
(DO NOT USE);  o Hook (¼);  u Hook (½);  Beta (DO NOT USE); 
Gamma (DO NOT USE);  Superscript 0 (p0s);  Superscript 1
(p1s);  Superscript 2 (p2s);  Superscript 3 (p3s) 
aVOYAGER COLUMN 5:  Superscript 4 (p4s);  Superscript 5
(p5s);  Superscript 6 (p6s);  Superscript 7 (p7s); 
Superscript 8 (p8s);  Superscript 9 (p9s);  Superscript
+ (p+s);  Superscript - (p-s);  Superscript ( (p(s); 
aVOYAGER COLUMN 6:  Superscript ) (p)s);  Subscript 0
(b0s);  Subscript  1 (b1s);  Subscript 2 (b2s); 
Subscript 3 (b3s);  Subscript 4 (b4s);  Subscript 5
(b5s);  Subscript 6 (b6s);  Subscript 7 (b7s) 
aVOYAGER COLUMN 7:  Subscript 8 (b8s);  Subscript 9
(b9s);  Subscript + (b+s);  Subscript - (b-s); 
Subscript ( (b(s);  Subscript ) (b)s);  Pseudo Question
Mark (ào);  Grave (áo);  Acute (âo)  aVOYAGER COLUMN 8: 
Circumflex (ão);  Tilde (äo);  Macron (åo);  Breve (æo); 
Superior Dot (ço);  Umlaut (èo);  Hacek (éo);  Circle Above
(êo);  Ligature left (ëo)  aVOYAGER COLUMN 9:  Ligature
right (ìo) ;  High Comma off center (ío);  Double Acute
(îo);  Candrabindu (ïo);  Cedilla (ðo);  Right Hook (ño); 
Dot Below (òo);  Double Dot Below (óo);  Circle Below (ôo) 
aVOYAGER COLUMN 10:  Double Underscore (õo);  Underscore
(öo);  Left Hook (÷o);  Right Cedilla (øo);  Upadhmaniya
(ùo);  Double Tilde 1st half (úo);  Double Tilde 2nd half
(ûo) ;  High Comma centered (þo)  aVOYAGER PC Keyboard: 
Spacing Circumflex (^); Spacing Underscore (_); Spacing
Grave (`); Open Curly Bracket ({); Close Curly Bracket (});
Spacing Tilde (~)  aStandard PC Keyboard:   1234567890-=  
!#$%^&*()_+   qwertyuiop[]\   QWERTYUIOP{}|  
asdfghjkl;'  ASDFGHJKL:"   zxcvbnm,./  
ZXCVBNM<>?03091cam  2200337 i
450000100090000000500170000900800410002603500100006703500100
007703500100008704000130009790600450011001000170015524500510
017226000190022330000120024250000420025450001670029650001890
046350001610065250001850081350002060099850002380120450002220
144250002070166450001670187150002060203850002080224450001600
24525000141026121268384920051218154744.0981008b2001   
ilu           000 0 eng    a57779  a90490  a93202 
aDLCcDLC  a0bundcorignewduencipf19gy-gencatlg  a
  77123332 00aVoyager Diacritic test -- New input 001
(SBIE)  anybny,c2001.  ap.ccm.  aNew copy imported
from file (8/12/99)  aVOYAGER COLUMN 0  (NEW):  Degree
sign (À);  Phono Copyright mark (Â);  Copyright mark (Ã); 
Sharp (Ä);  Inverted Question mark (Å);  Inverted
Exclamation mark (Æ)  aVOYAGER COLUMN 1:  Script L (Á); 
Polish L (¡);  Scandanavian O (¢);  D with Crossbar (£); 
Icelandic Thorn (¤);  AE Digraph (¥); OE Digraph (¦); 
Miagkii Znak (§);  Dot at Midline (¨)  aVOYAGER COLUMN 2: 
Musical Flat (©);  Patent Mark (ª);  Plus or Minus («);  O
Hook (¬);  U Hook (­);  Alif (®);  alpha (DO NOT USE);  Ayn
(°);  Polish l (±)  aVOYAGER COLUMN 3:  Scandanavian o
(²);  d with crossbar (³);  Icelandic Thorn (´);  ae Digraph
(µ);  oe Digraph (¶);  Tverdii Znak (·);  Turkish i (¸); 
British Pound (¹);  eth (º)  aVOYAGER COLUMN 4:  Dagger
(DO NOT USE);  o Hook (¼);  u Hook (½);  Beta (DO NOT USE); 
Gamma (DO NOT USE);  Superscript 0 (p0s);  Superscript 1
(p1s);  Superscript 2 (p2s);  Superscript 3 (p3s) 
aVOYAGER COLUMN 5:  Superscript 4 (p4s);  Superscript 5
(p5s);  Superscript 6 (p6s);  Superscript 7 (p7s); 
Superscript 8 (p8s);  Superscript 9 (p9s);  Superscript
+ (p+s);  Superscript - (p-s);  Superscript ( (p(s); 
aVOYAGER COLUMN 6:  Superscript ) (p)s);  Subscript 0
(b0s);  Subscript  1 (b1s);  Subscript 2 (b2s); 
Subscript 3 (b3s);  Subscript 4 (b4s);  Subscript 5
(b5s);  Subscript 6 (b6s);  Subscript 7 (b7s) 
aVOYAGER COLUMN 7:  Subscript 8 (b8s);  Subscript 9
(b9s);  Subscript + (b+s);  Subscript - (b-s); 
Subscript ( (b(s);  Subscript ) (b)s);  Pseudo Question
Mark (ào);  Grave (áo);  Acute (âo)  aVOYAGER COLUMN 8: 
Circumflex (ão);  Tilde (äo);  Macron (åo);  Breve (æo); 
Superior Dot (ço);  Umlaut (èo);  Hacek (éo);  Circle Above
(êo);  Ligature left (ëo)  aVOYAGER COLUMN 9:  Ligature
right (ìo) ;  High Comma off center (ío);  Double Acute
(îo);  Candrabindu (ïo);  Cedilla (ðo);  Right Hook (ño); 
Dot Below (òo);  Double Dot Below (óo);  Circle Below (ôo) 
aVOYAGER COLUMN 10:  Double Underscore (õo);  Underscore
(öo);  Left Hook (÷o);  Right Cedilla (øo);  Upadhmaniya
(ùo);  Double Tilde 1st half (úo);  Double Tilde 2nd half
(ûo) ;  High Comma centered (þo)  aVOYAGER PC Keyboard: 
Spacing Circumflex (^); Spacing Underscore (_); Spacing
Grave (`); Open Curly Bracket ({); Close Curly Bracket (});
Spacing Tilde (~)  aStandard PC Keyboard:   1234567890-=  
!#$%^&*()_+   qwertyuiop[]\   QWERTYUIOP{}|  
asdfghjkl;'  ASDFGHJKL:"   zxcvbnm,./  
ZXCVBNM<>?__________________________________________
_____
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
More on the OPACXML response
user name
2006-03-08 12:49:54
Adam, thanks for looking into this.

Here's the response from yaz-client when syntax 'opac' is chosen:

Z> format opac
Z> find attr 1=12 "625646"
Sent searchRequest.
Received SearchResponse.
Search was a success.
Number of hits: 1
records returned: 0
Elapsed: 0.059709
Z> s 1
Sent presentRequest (1+1).
Records: 1
[VOYAGER]Record type: OPAC
Record type: USmarc
001 625646
005 20020416074952.0
008 980513s1998 &nbsp;  nyu &nbsp;   ; &nbsp; &nbsp;  000 1 eng 
010   ; $a &nbsp;  98024308
035   ; $a (OCoLC)ocm39157663
040 &nbsp;  $a DLC $c DLC $d GAT
020&nbsp; &nbsp; $a 0060929790
041 1  $a eng $h spa
043&nbsp; &nbsp; $a cl-----
090 &nbsp;  $a PZ4.G2164 $b ONE 1998
049&nbsp; &nbsp; $a GATT
100 1  $a Garcâia Mâarquez, Gabriel, $d 1928-
245 10 $a One hundred years of solitude / $c Gabriel Garcâia Mâarquez ; translated from the Spanish by Gregory Rabassa.
260 &nbsp;  $a New York : $b Perennial Classics, $c 1998.
300&nbsp;   $a 458 p. ; $c 21 cm.
650&nbsp; 0 $a Macondo (Imaginary place) $v Fiction.
651  0 $a Latin America $x Social conditions $v Fiction.
700 1  $a Rabassa, Gregory.
994 &nbsp;  $a E0 $b GAT
Data holdings 0
typeOfRecord: x
encodingLevel: 4
receiptAcqStatus: 4
generalRetention: 8
completeness: 1
dateOfReport: 901128
nucCode: STACKS
localLocation: General Collection
callNumber: PZ4.G2164 ONE 1998
circulation 0
 availableNow: 0
 availabiltyDate: 2005-12-15 23:59:00
&nbsp;itemId: 1179301
&nbsp;renewable: 0
 onHold: 0
nextResultSetPosition = 2
Elapsed: 0.179280&nbsp; &nbsp; 

So, yes, it's a combo of marc21 and opac. ; If there are no diacritics in the bib record, it displays just fine in XML. 

Here's my proxy xml:

<?xml version=&quot;1.0&quot;?>
<;!-- $Id: voyager.xml ,v 1.5 2005/02/22 10:08:19 adam Exp $ -->
<;proxy xmlns=&quot;http://indexdata.dk/yazproxy/schema/0.9/&quot;
 xmlnssi=" http://www.w3.org/2001/XMLSchema-instance"
&nbsp;xsi:schemaLocation=&quot;http://indexdata.dk/yazproxy/schema/0.9/ yazproxy.xsd"
&gt;
  <!-- define default target and name it voyager -->
&nbsp; <target default=&quot;1" name=";GT"&gt;
 &nbsp;  <!-- all backend addresses as seen from this proxy .. -->
&nbsp; &nbsp; <url>;gil.gatech.edu:7090&lt;/url>

 &nbsp;  <!-- set session timeout between proxy and backend target -->
&nbsp; &nbsp; <target-timeout>;300</target-timeout>

&nbsp; &nbsp; <!-- set session timeout between client and proxy.
&nbsp; &nbsp; Should be lower than target-timeout -->
&nbsp; &nbsp; <client-timeout>;180</client-timeout>

&nbsp; &nbsp; <!-- if either bandwidth or pdu limit is reached the session is no
 &nbsp;  longer kept alive -->
&nbsp; &nbsp; <keepalive>
&nbsp; &nbsp; &nbsp; <bandwidth>500000</bandwidth>
  ; &nbsp;  <pdu>;500</pdu>
 ; &nbsp; </keepalive>

&nbsp;   <!-- client limits .. -->
&nbsp; &nbsp; <limit&gt;
 &nbsp;   ; <bandwidth>200000</bandwidth>
&nbsp;   ;  <pdu>;31</pdu>
   ; &nbsp; <retrieve>50<;/retrieve&gt;
   ; </limit>

 ; &nbsp; <!-- use attributes -->
&nbsp; &nbsp; <attribute type=";1" value=&quot;1-12,13-1010,1013-1023,1025-1030"/>;
 &nbsp;  <attribute type=";1" value=&quot;*" error=&quot;114"/>

&nbsp; &nbsp; <!-- relation attributes -->
&nbsp; &nbsp; <attribute type=";2" value=&quot;1,2,3,4,5,6"/&gt;
 &nbsp;  <attribute type=";2" value=&quot;*" error=&quot;117"/>
 ; &nbsp;
 &nbsp;  <!-- position attributes -->
&nbsp; &nbsp; <attribute type=";3" value=&quot;1,2,3&quot;/>
&nbsp; &nbsp; <attribute type=";3" value=&quot;*" error=&quot;119"/>

&nbsp; &nbsp; <!-- structure attributes -->
&nbsp; &nbsp; <attribute type=";4" value=&quot;1,2,3,4,5,6"/&gt;
 &nbsp;  <attribute type=";4" value=&quot;*" error=&quot;118"/>

&nbsp; &nbsp; <!-- truncation attributes -->
&nbsp; &nbsp; <attribute type=";5" value=&quot;1,100&quot;/>
&nbsp; &nbsp; <attribute type=";5" value=&quot;*" error=&quot;120"/>

&nbsp; &nbsp; <!-- completeness attributes -->
&nbsp; &nbsp; <attribute type=";6" value=&quot;1,2,3&quot;/>
&nbsp; &nbsp; <attribute type=";6" value=&quot;*" error=&quot;122"/>

&nbsp; &nbsp; <!-- other types -->
&nbsp; &nbsp; <attribute type=";*" value=&quot;*" error=&quot;113"/>

&nbsp; &nbsp; <!-- list allowed record syntaxes and possible schemas (if any);
&nbsp; &nbsp; reject all others at the end -->
&nbsp; &nbsp; <syntax type=";opac"/>
&nbsp; &nbsp; <syntax type=";usmarc&quot;/>
&nbsp; &nbsp; <syntax type=";none" backendtype="usmarc"/&gt;
 &nbsp; 
 &nbsp;  <syntax type=";xml" marcxml=&quot;1"
 &nbsp; &nbsp;  identifier="info:srw/schema/1/marcxml- v1.1"
 &nbsp; &nbsp;  >
 ; &nbsp; &nbsp; <title&gt;MARCXML&lt;/title&gt;
 &nbsp; &nbsp;  <name&gt;marcxml&lt;/name>
 &nbsp;  </syntax>
 ; &nbsp; <syntax type=";xml" marcxml=&quot;1" stylesheet="MARC21slim2SRWDC.xsl ";
 &nbsp; &nbsp;  identifier="info:srw/schema/1/dc-v1.1&quot;
 ; &nbsp; &nbsp; >
 ; &nbsp; &nbsp; <title&gt;Dublin Core</title>
&nbsp; &nbsp;   <name&gt;dc</name>
&nbsp; &nbsp; </syntax>
 ; &nbsp; <syntax type=";xml" marcxml=&quot;1" stylesheet=" MARC21slim2MODS.xsl"
 &nbsp; &nbsp;  identifier="http://www.loc.gov/mods"
&nbsp;   ;  >
 ; &nbsp; &nbsp; <title&gt;MODS v2</title>
&nbsp; &nbsp; &nbsp; <name&gt;mods2</name>
  ;  </syntax>
 ; &nbsp; <syntax type=";xml" marcxml=&quot;1" stylesheet="MARC21slim2MODS3.xsl"
 &nbsp; &nbsp;  identifier="info:srw/schema/1/mods-v3.0"
&nbsp; &nbsp; &nbsp; >
 ; &nbsp; &nbsp; <title&gt;MODS v3</title>
&nbsp; &nbsp; &nbsp; <name&gt;mods3</name>
&nbsp;   ;  <name&gt;mods</name>
&nbsp; &nbsp; </syntax>
 ; &nbsp;
 &nbsp;  <syntax type=";xml" marcxml=&quot;1" backendtype="opac"
&nbsp; &nbsp; &nbsp; identifier="info:srw/schema/1/opacxml- v1.0"
 &nbsp; &nbsp;  >
 ; &nbsp; &nbsp; <title&gt;OPACXML&lt;/title&gt;
 &nbsp; &nbsp;  <name&gt;opacxml&lt;/name>
 &nbsp;  </syntax>

&nbsp; &nbsp; <syntax type=";*" error=&quot;238"/>

&nbsp; &nbsp; <!-- keep this number of spare sessions for future sessions -->
&nbsp; &nbsp; <preinit>2</preinit>

 &nbsp;  <explain xmlns=&quot;http://explain.z3950.org/dtd/2.0/">;
 &nbsp; &nbsp;  <serverInfo>
&nbsp; &nbsp; <host&gt; search.library.gatech.edu</host>
&nbsp; &nbsp; <port&gt;9000</port>
&nbsp; &nbsp; <database>Voyager</database>
&nbsp; &nbsp;   </serverInfo>
&nbsp;   
 &nbsp; &nbsp;  <databaseInfo>
  ;  <title&gt;GT Catalog gateway<;/title>
 &nbsp;  <description lang=";en" primary=&quot;true&quot;>
&nbsp; &nbsp;   SRW/SRU/Z39.50 Gateway to GT Z39.50 server
&nbsp; &nbsp; </description>
  ; &nbsp;  </databaseInfo>
 &nbsp; &nbsp; 
 &nbsp; &nbsp;  <indexInfo>
&nbsp; &nbsp; <set identifier="info:srw/cql-context-set/1/cql-v1.1&quot;
   ;   name=";cql"/>
   ; <set identifier="info:srw/cql-context-set/1/dc-v1.1&quot;
 &nbsp;    name=";dc"/&gt;
 &nbsp;  <set identifier=" http://zing.z3950.org/cql/bath/2.0/"
  ;    name=";bath"/>
 ; &nbsp;
 &nbsp;  <index id="4">
  ;    <title&gt;title<;/title>
 &nbsp;    <map>;<name set="dc">;title</name><;/map>
  ;  </index>
   ; <index id="21">
 &nbsp;    <title&gt;subject&lt;/title&gt;
 &nbsp;    <map>;<name set="dc">;subject<;/name>&lt;/map>
 &nbsp;  </index>
   ; <index id="1003"&gt;
 &nbsp;    <title&gt;creator&lt;/title&gt;
 &nbsp;    <map>;<name set="dc">;creator<;/name>&lt;/map>
 &nbsp;    <map>;<name set="dc">;author</name>&lt;/map>
  ;  </index>
 ; &nbsp;
 &nbsp;  <index id="1020"&gt;
 &nbsp;    <title&gt;editor&lt;/title>;
 &nbsp;    <map>;<name set="dc">;editor</name>&lt;/map>
  ;  </index>
   ;
 &nbsp;  <index id="1018"&gt;
 &nbsp;    <title&gt;publisher</title>
   ;   <map>;<name set="dc">;publisher&lt;/name>;</map&gt;
 &nbsp;  </index>
   ;
 &nbsp;  <index id="62">
 &nbsp;    <title&gt;description</title>
&nbsp; &nbsp;   <map>;<name set="dc">;description</name&gt;</map>
   ; </index>
   ;
 &nbsp;  <index id="30">
 &nbsp;    <title&gt;date</title>
  ;    <map>;<name set="dc">;date</name></map>
&nbsp;   </index>
   ;
 &nbsp;  <index id="1002"&gt;
 &nbsp;    <title&gt;name</title>
  ;    <map>;<name set="bath"&gt;name</name>&lt;/map>
  ;  </index>
 ; &nbsp;
 &nbsp;  <index id="7">
  ;    <title&gt;isbn</title>
  ;    <map>;<name set="bath"&gt;isbn</name>&lt;/map>
  ;  </index>
   ; <index id="8">
 &nbsp;    <title&gt;issn</title>
  ;    <map>;<name set="bath"&gt;issn</name>&lt;/map>
  ;  </index>
   ; &nbsp; </indexInfo>

&nbsp;   ;  <schemaInfo>
&nbsp; &nbsp; <schema identifier="info:srw/schema/1/marcxml- v1.1"
 &nbsp;    sort=";false"; name=";marcxml&quot;>
&nbsp; &nbsp;   <title&gt;MARCXML&lt;/title&gt;
 &nbsp;  </schema>
 ; &nbsp;
 &nbsp;  <schema identifier="info:srw/schema/1/dc-v1.1&quot;
 ; &nbsp;   sort=";false"; name=";dc"&gt;
 &nbsp;    <title&gt;Dublin Core</title>
&nbsp; &nbsp; </schema>
 ; &nbsp;
 &nbsp;  <schema identifier="http://www.loc.gov/mods"
&nbsp;     sort=";false"; name=";mods2";>
&nbsp; &nbsp;   <title&gt;MODS v2</title>
&nbsp; &nbsp; </schema>

&nbsp; &nbsp; <schema identifier="info:srw/schema/1/mods-v3.0"
&nbsp; &nbsp;   sort=";false"; name=";mods">
   ;   <title&gt;MODS v3</title>
&nbsp; &nbsp; </schema>

&nbsp; &nbsp; &nbsp; </schemaInfo>

  ; &nbsp;  <configInfo>
&nbsp; &nbsp;   ;  <default type=";numberOfRecords">0</default>
  ; &nbsp;  </configInfo>
&nbsp;   </explain>
&nbsp;  <cql2rpn>pqf.properties<;/cql2rpn&gt;
  </target>


&nbsp; <!-- maximum number of client sessions. Remember to allow for
   ;  at least max-clients*2+5 sockets. Use 'ulimit -n 1040' on bash -->
&nbsp; <max-clients>500</max-clients>
 
  <!-- what we log. Allowed tokens: client-apdu, server-apdu,
  client-requests, server-requests -->
&nbsp; <log>;client-requests server-requests</log>
<;/proxy>

Thanks!
-Ross.

On 3/8/06, Adam Dickmeiss <indexdata.dk">adamindexdata.dk> wrote:
Ross Singer wrote:
>; So, I just updated Yaz to 2.1.12 and here's what I get in the yazproxy
&gt; log when I get opacxml request for that record:
&gt;
> 17:09:20-07/03 [log] 0 Set the proxy negotiation: charset to 'none',
&gt; language to 'none'
>; 17:09:20-07/03 [log] 1141769360:0 New session tcp:127.0.0.1
> <http://127.0.0.1>
> 17:09:20-07/03 [log] 1141769360:0 1 Receiving HTTP Request from client
&gt; 661 bytes17:09:20-07/03 [log] file_access
> 17:09:20-07/03 [warn]
>; Voyager?version=1.1&amp;operation=searchRetrieve&query=rec.id%20=%20625646&recordPacking=xml&recordSchema=opacxml&startRecord=1&maximumRecords=1:
> stat failed [No such file or directory]
> 17:09:20-07/03 [log] 1141769360:0 1 REUSE 3 gil.gatech.edu:7090
> <http://gil.gatech.edu:7090 >
> 17:09:20-07/03 [log] 0 pre-init GT gil.gatech.edu:7090
> <http://gil.gatech.edu:7090> use=1 other=0 spare=1 sparew=0 preinit=2
> 17:09:20-07/03 [log] 1141769360:0 1 implementationId: 81
> 17:09:20-07/03 [log] 1141769360:0 1 implementationName: YAZ
> 17:09:20-07/03 [log] 1141769360:0 1 implementationVersion: 2.1.12
>; 17:09:20-07/03 [log] 1141769360:0 1 CQL: rec.id <http://rec.id> = 625646
>; 17:09:20-07/03 [log] 1141769360:0 1 Search attrset 1.2.840.10003.3.1
>; attr 5=100 attr 6=1 attr 3=3 attr 4=1 attr 2=3 attr 1=12 "625646"
&gt; 17:09:20-07/03 [log] 1141769360:0 1 Sending searchRequest to
> gil.gatech.edu:7090 <http://gil.gatech.edu:7090> 137 bytes
>; 17:09:20-07/03 [log] 0 Connection accepted by gil.gatech.edu:7090
> <http://gil.gatech.edu:7090> timeout=300
> 17:09:20-07/03 [log] 0 Sending initRequest to gil.gatech.edu:7090
> <http://gil.gatech.edu:7090> 50 bytes
> 17:09:20-07/03 [log] 1141769360:0 1 Receiving searchResponse from
> gil.gatech.edu:7090 <http://gil.gatech.edu:7090> 17 bytes
> 17:09:20-07/03 [log] 1141769360:0 1 1 hits
> 17:09:20-07/03 [log] 1141769360:0 1 Present default 1+1
> 17:09:20-07/03 [log] 1141769360:0 1 Sending presentRequest to
> gil.gatech.edu:7090 <http://gil.gatech.edu:7090> 28 bytes
>; 17:09:20-07/03 [log] 1141769360:0 1 Receiving presentResponse from
> gil.gatech.edu:7090 <http://gil.gatech.edu:7090> 979 bytes
>; 17:09:20-07/03 [warn] XML: Entity: line 38:
> 17:09:20-07/03 [warn] XML: parser
>; 17:09:20-07/03 [warn] XML: error :
> 17:09:20-07/03 [warn] XML: Input is not proper UTF-8, indicate encoding !
> Bytes: 0xE2 0x69 0x61 0x20
>
> 17:09:20-07/03 [warn] XML:   ;  <subfield code=";a">;Garc\uffffia
> M\uffffarquez, Gabriel,&lt;/subfield>
>
&gt; 17:09:20-07/03 [warn] XML:

Thank for the info. ; I'd like to see a copy of your proxy .xml, ideally
so that I can connect to it myself.

We don't deal with encoding for OPAC's.. WHen Z39.50 servers do return
OPAC, what encoding would that be? MARC-8 as in MARC21/USMARC?

/ Adam

>
> Thanks!
&gt; -Ross.
>;
>
> ------------------------------------------------------------------------
>;
> _______________________________________________
> Yazlist mailing list
> lists.indexdata.dk">Yazlistlists.indexdata.dk
&gt; http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist


_______________________________________________
Yazlist mailing list
lists.indexdata.dk">Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist


More on the OPACXML response
user name
2006-03-08 13:04:55
Larry, thanks for clearing some of this up.

We are, indeed, running UTF-8.

-Ross.

On 3/8/06, Larry E. Dixson <loc.gov"> ldixloc.gov&gt; wrote:
On Wed, 8 Mar 2006, Adam Dickmeiss wrote:

&gt; Thank for the info. ; I'd like to see a copy of your proxy .xml, ideally
&gt; so that I can connect to it myself.
&gt;
> We don't deal with encoding for OPAC's.. WHen Z39.50 servers do return
>; OPAC, what encoding would that be? MARC-8 as in MARC21/USMARC?
>
&gt; / Adam

FYI, the encoding of the Voyager OPAC record can be in either MARC-8
or UTF-8 (depending on how the server is configured). &nbsp;The Leader/09
will either be blank or "a&quot; depending on the encoding/server
configuration.

LC is currently configured for MARC-8.&nbsp; If you want to point at us for a
contrast/comparison, you already have our .xml file. ; Attached are
two versions of the same diacritic test record -- first was retrieved
by requesting "MARC21" format; the second by requesting "OPAC" format
(both while server was configured for MARC-8).

Ross may be running UTF-8, but if not let me know and I can provide
you with address:port of a Voyager server that is.
Larry


------------------------------------------------------------
Larry E. Dixson&nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;  Internet: &nbsp;  loc.gov">ldixloc.gov
Network Development and MARC
 ;  Standards Office, LA327
Library of Congress&nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;  Telephone: (202) 707-5807
Washington, D.C.  20540-4402   ; &nbsp;  Fax:   ; &nbsp;  (202) 707-0115


_______________________________________________
Yazlist mailing list
lists.indexdata.dk">Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist




More on the OPACXML response
user name
2006-03-08 23:57:56
Ross Singer wrote:
> Larry, thanks for clearing some of this up.
> 
> We are, indeed, running UTF-8.

gil.gatech.edu:7090 seems to be returning MARC-8 (both
MARC21 and OPAC).

But we should be able to handle that. The OPACXML rendering
assumed 
UTF-8, when in fact it was MARC-8. Here is a patch which
fixes this - at 
least for me.

After this patch has been applied the yazproxy assumes
MARC-8. If your 
server returns something different, such UTF-8, use
   backend="utf-8"
in the syntax section for opacxml. (So we now have a proper
default, but 
also a CONFIGURABLE record charset).

/ Adam

> 
> -Ross.
> 
> On 3/8/06, *Larry E. Dixson* < ldixloc.gov
<mailto:ldixloc.gov>> wrote:
> 
>     On Wed, 8 Mar 2006, Adam Dickmeiss wrote:
> 
>      > Thank for the info.  I'd like to see a copy
of your proxy .xml,
>     ideally
>      > so that I can connect to it myself.
>      >
>      > We don't deal with encoding for OPAC's..
WHen Z39.50 servers do
>     return
>      > OPAC, what encoding would that be? MARC-8 as
in MARC21/USMARC?
>      >
>      > / Adam
> 
>     FYI, the encoding of the Voyager OPAC record can be
in either MARC-8
>     or UTF-8 (depending on how the server is
configured).  The Leader/09
>     will either be blank or "a" depending
on the encoding/server
>     configuration.
> 
>     LC is currently configured for MARC-8.  If you want
to point at us for a
>     contrast/comparison, you already have our .xml
file.  Attached are
>     two versions of the same diacritic test record --
first was retrieved
>     by requesting "MARC21" format; the
second by requesting "OPAC" format
>     (both while server was configured for MARC-8).
> 
>     Ross may be running UTF-8, but if not let me know
and I can provide
>     you with address:port of a Voyager server that is.
>     Larry
> 
> 
>    
------------------------------------------------------------
>     Larry E. Dixson                    Internet:   
ldixloc.gov
>     <mailto:ldixloc.gov>
>     Network Development and MARC
>        Standards Office, LA327
>     Library of Congress                Telephone: (202)
707-5807
>     Washington, D.C.  20540-4402       Fax:       (202)
707-0115
> 
> 
>     _______________________________________________
>     Yazlist mailing list
>     Yazlistlists.indexdata.dk <mailto:Yazlistlists.indexdata.dk>
>     http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
>     <http://lists.indexdata.dk/cgi-bin/mailman/listinfo
/yazlist>
> 
> 
> 
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
More on the OPACXML response
user name
2006-03-09 08:34:19
Adam Dickmeiss wrote:
> Ross Singer wrote:
> 
> After this patch has been applied the yazproxy assumes
MARC-8. If your 
> server returns something different, such UTF-8, use
>   backend="utf-8"

Ooops. Should read:
     backendcharset="utf-8"

> in the syntax section for opacxml. (So we now have a
proper default, but 
> also a CONFIGURABLE record charset).

/ Adam

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
More on the OPACXML response
user name
2006-03-09 15:08:19
It worked!&nbsp; Thank you!

-Ross.

On 3/9/06, Adam Dickmeiss <indexdata.dk">adamindexdata.dk> wrote:
Adam Dickmeiss wrote:
>; Ross Singer wrote:
>;
> After this patch has been applied the yazproxy assumes MARC-8. If your
> server returns something different, such UTF-8, use
>&nbsp;  backend=&quot;utf-8&quot;

Ooops. Should read:
&nbsp; &nbsp;  backendcharset="utf-8"

> in the syntax section for opacxml. (So we now have a proper default, but
> also a CONFIGURABLE record charset).

/ Adam

_______________________________________________
Yazlist mailing list
lists.indexdata.dk">Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yazlist


More on the OPACXML response
user name
2006-03-09 21:45:28
Larry E. Dixson wrote:
> On Wed, 8 Mar 2006, Adam Dickmeiss wrote:
> 
>> Thank for the info.  I'd like to see a copy of
your proxy .xml, ideally 
>> so that I can connect to it myself.
>>
>> We don't deal with encoding for OPAC's.. WHen
Z39.50 servers do return 
>> OPAC, what encoding would that be? MARC-8 as in
MARC21/USMARC?
>>
>> / Adam
> 
> FYI, the encoding of the Voyager OPAC record can be in
either MARC-8
> or UTF-8 (depending on how the server is configured). 
The Leader/09
> will either be blank or "a" depending on
the encoding/server 
> configuration.

For what it's worth, in our experience requesting OPAC from
a Voyager 
with Unicode Z39.50 server configured for UTF-8 doesn't
even work. 
Voyager will just return a SUTRS record saying "Failed
to retrieve 
record #xxx". I have yet to test with Voyager 5.

--Ere

-- 
Ere Maijala (Mr.)
Helsingin yliopiston kirjasto, Suomen kansalliskirjasto
Helsinki University Library, the National Library of Finland
P.O.Box 26 (Teollisuuskatu 23)
FI-00014 University of Helsinki
FINLAND

ere.maijala()helsinki.fi
Tel. +358 9 191 44260

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-9]

about | contact  Other archives ( Real Estate discussion Medical topics )