|
List Info
Thread: More on the OPACXML response
|
|
| More on the OPACXML response |

|
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="a">Garc\uffffia M\uffffarquez, Gabriel,</subfield>
17:09:20-07/03 [warn] XML:
Thanks!
-Ross.
|
| More on the OPACXML response |

|
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
> Yazlist lists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|
|
| More on the OPACXML response |

|
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: ldix loc.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
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|
|
| More on the OPACXML response |

|
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 nyu 000 1 eng 010 $a 98024308 035 $a (OCoLC)ocm39157663 040 $a DLC $c DLC $d GAT 020 $a 0060929790 041 1 $a eng $h spa 043 $a cl-----
090 $a PZ4.G2164 $b ONE 1998 049 $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 $a New York : $b Perennial Classics, $c 1998. 300 $a 458 p. ; $c 21 cm. 650 0 $a Macondo (Imaginary place) $v Fiction. 651 0 $a Latin America $x Social conditions $v Fiction. 700 1 $a Rabassa, Gregory.
994 $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 itemId: 1179301 renewable: 0 onHold: 0 nextResultSetPosition = 2 Elapsed: 0.179280
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="1.0"?> <!-- $Id: voyager.xml
,v 1.5 2005/02/22 10:08:19 adam Exp $ --> <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/" xmlns si="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.9/ yazproxy.xsd" > <!-- define default target and name it voyager -->
<target default="1" name="GT"> <!-- all backend addresses as seen from this proxy .. --> <url>gil.gatech.edu:7090</url>
<!-- set session timeout between proxy and backend target --> <target-timeout>300</target-timeout>
<!-- set session timeout between client and proxy. Should be lower than target-timeout -->
<client-timeout>180</client-timeout>
<!-- if either bandwidth or pdu limit is reached the session is no longer kept alive --> <keepalive> <bandwidth>500000</bandwidth>
<pdu>500</pdu> </keepalive>
<!-- client limits .. --> <limit> <bandwidth>200000</bandwidth> <pdu>31</pdu> <retrieve>50</retrieve>
</limit>
<!-- use attributes --> <attribute type="1" value="1-12,13-1010,1013-1023,1025-1030"/> <attribute type="1" value="*" error="114"/>
<!-- relation attributes --> <attribute type="2" value="1,2,3,4,5,6"/> <attribute type="2" value="*" error="117"/> <!-- position attributes -->
<attribute type="3" value="1,2,3"/> <attribute type="3" value="*" error="119"/>
<!-- structure attributes --> <attribute type="4" value="1,2,3,4,5,6"/>
<attribute type="4" value="*" error="118" | |