[Yazlist] Is it possible to allow both CCL and Z39.50 queries?

Michael Lackhoff lackhoff at zbmed.de
Mon Mar 24 18:14:38 UTC 2014


On 24.03.2014 18:12 Sven-S. Porst wrote:

>> Perhaps I can find out myself, if it is possible to get some debugging
>> output, in particular the XML of the query before and after the
>> query_rewrite filter. Can I get that somewhere? Then I could (hopefully)
>> tweak the XSLT until it fits my needs.
> 
> Perhaps the log filter can help you with that:
> 
> http://www.indexdata.com/metaproxy/doc/ref-log.html
> 
> You can place it between the other filters and see how some aspects of the request change.

I tried it with <category request-session="true"/> but it won't give me
the query XML, just what I know already:

18:59:15-24/03 B 127.0.0.1:2 4 0.000000 Z3950 searchRequest fremd
default - CCL isbn=1565921496
18:59:15-24/03 B request id=4 close=no
18:59:15-24/03 B 127.0.0.1:2 4 0.000000 Z3950 searchResponse Failure
DIAG 108 "converion from Query to XML failed"

What I need is something that shows the changes your stylesheet does to
a CCL query. To my limited understanding it should do nothing, due to
the "otherwise"-clause:
<xsl:otherwise>
  <xsl:value-of select="@value"/>
</xsl:otherwise>

So anything that doesn't match the given numeric values (like '4' or
'7') should just be left alone, but my 'isbn' obviously is changed
somehow and I would like to see what is going on.
The log doesn't seem to provide that.

-Michael






More information about the Yazlist mailing list