<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">In the version I’m currently working on it will be possible to restrict queries to sub-parts of texts defined by the XML. The addition of XML datatype control
was primarily to support that, although as you’ve discovered it can also be used to set things up for text metadata.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> cwb-bounces@sslmit.unibo.it
[mailto:cwb-bounces@sslmit.unibo.it] <b>On Behalf Of </b>Hannah Kermes<br>
<b>Sent:</b> 22 February 2016 07:10<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] Fwd: Bug in CQPweb 3.2.6 Revision 765<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Andrew,<br>
<br>
thanks for this, that was my fault. I was so used to the old interface that I completely overlook it. Everything was there, and it works fine now.<br>
<br>
Maybe just one more clarification question. I couldn't find any documentation for that - if there is one you can simply point me to it.<br>
Is the Manage corpus XML section exactly for the purpose I used it for - changing the name and category of text_level data or is there another use to it?<br>
<br>
Thanks again<br>
Hannah<o:p></o:p></p>
<div>
<p class="MsoNormal">Am 22.02.2016 um 00:42 schrieb Hardie, Andrew:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Hi Hannah,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Actually, it looks to be working.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">After you click “create metadata” you get:</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"><img width="545" height="417" id="Picture_x0020_1" src="cid:image001.jpg@01D16D53.E5726E50" alt="cid:part3.01000202.07010708@mx.uni-saarland.de"></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Note “Text metadata has been loaded –
<b>Yes</b>” where before it was <b>No</b>.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">>></span> which tells me that there is no corpus-level metadata, which however there should be.<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">No there shouldn’t. You have loaded
<b>text-level</b> metadata (info about the texts), not <b>corpus-level</b> metadata (info about the corpus).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">I direct your attention to the table headed “Corpus-level metadata” lower down, which tells you what it is and gives you a way to add it.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">The interface looks different to the older version because the “metadata” heading was over-full and hard to navigate. You’ll find the freq table buttons now
under “Manage frequency lists”.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Hope that clears it up</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">best</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Andrew.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [<a href="mailto:cwb-bounces@sslmit.unibo.it">mailto:cwb-bounces@sslmit.unibo.it</a>]
<b>On Behalf Of </b>Hannah Kermes<br>
<b>Sent:</b> 21 February 2016 10:31<br>
<b>To:</b> <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a> >> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> [CWB] Fwd: Bug in CQPweb 3.2.6 Revision 765</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Hi Andrew,<br>
<br>
as the patch worked, we thought we could do wait for a few weeks with rebuilding our server and in the meantime use the update on the old server installation.<br>
However, we encountered another problem with our test update. This time with the installation of corpora.<br>
For the test we took a small corpus which was already installed in our CQPweb installation - so format problems of the corpora should not occur.<br>
It is a pre-indexed corpus, with the annotations as listed below (as output of show cd from the commandline).<br>
Asside from id, there are three other text attributes two of them are used for categorization (lang,reg) in our "old" CQPweb installation.<br>
<br>
As I find it easier and more effective I usually create the Metadata from the XML. When I do this I get the result - and I apologize in advance for the number of screenshots, but I think it is easiest this way:<br>
<br>
<img border="0" width="452" height="444" id="_x0000_i1026" src="cid:image002.jpg@01D16D53.E5726E50"><br>
<br>
usually I can choose here the datatype. I then changed the data type in the new XML-data menu. Then I get:<br>
<br>
<img border="0" width="546" height="467" id="_x0000_i1027" src="cid:image003.jpg@01D16D53.E5726E50"><br>
<br>
If I now click on Create metadata I get the following:<br>
<br>
<img border="0" width="545" height="416" id="_x0000_i1028" src="cid:image001.jpg@01D16D53.E5726E50"><br>
which tells me that there is no corpus-level metadata, which however there should be.<br>
Just for a comparison, this is what it looks like (after indexing) in the "old" CQPweb installation:<br>
<br>
<img border="0" width="615" height="512" id="_x0000_i1029" src="cid:image004.jpg@01D16D53.E5726E50"><br>
<br>
Thanks<br>
Hannah<br>
<br>
<b>Attributes of the corpus:<br>
</b><br>
Positional Attributes: * word<br>
pos<br>
lemma<br>
<br>
Structural Attributes: praesens<br>
term<br>
kompositum<br>
nominalisierung<br>
s<br>
praeteritum<br>
passiv<br>
abkuerzung<br>
titel<br>
perfekt<br>
futur<br>
verweis_auf_bild_in_text_direkt<br>
erklaerung_gaengiger_term<br>
verweis_auf_text_in_text_direkt<br>
verweis_auf_bild_in_text_indirekt<br>
text<br>
text_id [A]<br>
text_lang [A]<br>
text_title [A]<br>
text_reg [A]<br>
verweis_auf_bild_in_klammer_direkt<br>
erklaerung_neuer_term<br>
verweis_auf_anderen_text_in_text_direkt<br>
imperativ<br>
verweis_auf_text_in_klammer_direkt<br>
verweis_auf_sonstiges_in_klammer_direkt<br>
erklaerung<br>
verweis_auf_sonstiges_in_fussnote_direkt<br>
verweis_auf_sonstiges_in_text_direkt<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal">Am 18.02.2016 um 10:55 schrieb Jörg Knappen:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Thank you, Andrew, for the patch. <br>
<br>
<br>
Zitat von "Hardie, Andrew" <a href="mailto:a.hardie@lancaster.ac.uk"><a.hardie@lancaster.ac.uk></a>:
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">Well, 5.3 is obsolete and unsupported, so that's not good. (Note the 2012 data on the copyright line. You are running without the last 4 years of security fixes....)
<o:p></o:p></p>
<p class="MsoNormal"><br>
Somehow there are security fixes in SLES 11 even to very old and outdated packages. But we seriously consider re-building our servers on a less conservative Linux platform.
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">I've amended the code to avoid the unsupported syntax. But sometime soon I am going to simply bump the minimum PHP requirement up to a still-supported version.
<o:p></o:p></p>
<p class="MsoNormal"><br>
Thanks for the patch again, it works flawlessly (I have applied and tested it). <br>
<br>
Greetings, <br>
<br>
Jörg <br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">best <br>
<br>
Andrew. <br>
<br>
-----Original Message----- <br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [<a href="mailto:cwb-bounces@sslmit.unibo.it">mailto:cwb-bounces@sslmit.unibo.it</a>] On Behalf Of Jörg Knappen
<br>
Sent: 17 February 2016 10:49 <br>
To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a> <br>
Subject: Re: [CWB] Bug in CQPweb 3.2.6 Revision 765 <br>
<br>
Hallo Andrew, <br>
<br>
Zitat von "Hardie, Andrew" <a href="mailto:a.hardie@lancaster.ac.uk"><a.hardie@lancaster.ac.uk></a>:
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">What version of PHP are you running? <o:p></o:p></p>
<p class="MsoNormal"><br>
I am running <br>
<br>
php --version <br>
PHP 5.3.17 (cli) <br>
Copyright (c) 1997-2012 The PHP Group <br>
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies <br>
<br>
This is the newest php version supported by SLES 11 SP 3 (the <br>
operating system of our server). <br>
<br>
--Jörg <br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><br>
There is a syntax construction on that line that very old versions <br>
do not support (array index applied to function return). <br>
<br>
<a href="http://php.net/supported-versions.php">http://php.net/supported-versions.php</a>
<br>
<br>
best <br>
<br>
Andrew. <br>
<br>
-----Original Message----- <br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>
<br>
[<a href="mailto:cwb-bounces@sslmit.unibo.it">mailto:cwb-bounces@sslmit.unibo.it</a>] On Behalf Of Jörg Knappen
<br>
Sent: 17 February 2016 10:13 <br>
To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a> <br>
Subject: [CWB] Bug in CQPweb 3.2.6 Revision 765 <br>
<br>
Hallo, <br>
<br>
The following does not work: <br>
<br>
Select a corpus <br>
Query something, e.g. [word="word"] <br>
Klick on the query string in the KWIC view <br>
<br>
The output is nothing (in firefox, I see just a blank page) <br>
<br>
There is the following error message in error_log of the Apache 2.4 <br>
webserver: <br>
<br>
[Wed Feb 17 11:07:00.244465 2016] [fcgid:warn] [pid 50085:tid <br>
140514590492416] [ <br>
client 134.96.90.27:53453] mod_fcgid: stderr: PHP Parse error: syntax <br>
error, un <br>
expected '[' in /data2/htdocs/cqpweb/lib/context.inc.php on line 185, <br>
referer: h <br>
ttp://test.clarin-d.uni-saarland.de/cqpweb/dascitex/concordance.php?theData=%5Bw <br>
ord%3D%22optics%22%5D&qmode=cqp&pp=50&del=begin&t=&del=end&uT=y <br>
<br>
<br>
Greetings from Saarbrücken, <br>
<br>
Jörg <br>
<br>
_______________________________________________ <br>
CWB mailing list <br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a> <br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
<br>
_______________________________________________ <br>
CWB mailing list <br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a> <br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
<o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
_______________________________________________ <br>
CWB mailing list <br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a> <br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
<br>
_______________________________________________ <br>
CWB mailing list <br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a> <br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
<o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
_______________________________________________ <br>
CWB mailing list <br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a> <br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
<o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>CWB mailing list<o:p></o:p></pre>
<pre><a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><o:p></o:p></pre>
<pre><a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>