<message nick="Cassi3" time="00:00:14.482+01:00">Good night</message>
<part host="vh036a.halls.manchester.ac.uk" login="i=xt" nick="Cassi3" time="00:01:04.15+01:00"/>
<part host="62.232.6.162" login="n=XIRCProx" nick="avanti" time="00:01:12.1+01:00"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="08:16:04.08+01:00"/>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="08:23:23.887+01:00"/>
<join host="81-208-83-237.fastres.net" login="n=[giulio]" nick="[giulio]" time="08:35:55.348+01:00"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="08:36:39.297+01:00"/>
<message nick="perig" time="08:37:43.214+01:00">.</message>
<message nick="perig" time="08:38:10.852+01:00">How long before being disconnected ? Let's see...</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="08:43:38.727+01:00"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="08:50:11.22+01:00"/>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="08:57:10.75+01:00"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="09:07:42.268+01:00"/>
<message nick="perig" time="09:07:54.204+01:00">6 minutes and 59 seconds then :-)</message>
<message nick="perig" time="09:08:22.172+01:00">09:13:41 ?</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="09:14:41.056+01:00"/>
<join host="lns-bzn-51f-81-56-146-207.adsl.proxad.net" login="n=fxprunay" nick="Fxprunayre" time="09:18:56.173+01:00"/>
<join host="wolfgang.hist.uni-heidelberg.de" login="n=wolf" nick="wolf77" time="09:56:14.273+01:00"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="10:57:16.116+01:00"/>
<message nick="perig" time="10:57:32.168+01:00">Let's go for 7 minutes ;-)</message>
<message nick="perig" time="10:58:01.838+01:00">wolf77 : interesting discussion about the XInclude traversal</message>
<message nick="perig" time="10:59:55.813+01:00">what about refactoring the DLN code in charge of computation to prepend the includer node's ID ?</message>
<message nick="perig" time="11:02:07.612+01:00">or, maybe, introduce such a prepending method (together with a document ID remapping one)in the NodePory stuff ?</message>
<message nick="wolf77" time="11:03:46.005+01:00">basically yes, but it doesn't solve much</message>
<message nick="wolf77" time="11:04:14.574+01:00">if you store 2 NodeProxy or one combined NodeProxy is not a huge difference</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="11:04:14.925+01:00"/>
<message nick="wolf77" time="11:04:52.706+01:00">I think we should create an extra index module for xincludes which handles all this stuff</message>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="11:06:43.587+01:00"/>
<message nick="perig" time="11:07:58.829+01:00">at first glance, the index is probably a good idea but I fear the need for parametrized XIncludes when the XInclude traversal door is open :-)</message>
<message nick="perig" time="11:09:33.898+01:00">I'm also sure we will have to handle efficiently node ID periodicity in the future. i.e. we will have to go beyond the DLN traditional definition.</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="11:13:42.105+01:00"/>
<message nick="wolf77" time="11:17:11.93+01:00">I don't see how a dynamic traversal of xincludes could be implemented efficiently. You need some index support or it will be terribly slow.</message>
<message nick="wolf77" time="11:19:17.23+01:00">I also don't want to end up with extra rules for xinclude handling scattered all over the code ;-)</message>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="11:27:56.385+01:00"/>
<message nick="perig" time="11:28:51.57+01:00">:-)</message>
<message nick="perig" time="11:29:52.092+01:00">well, I'm not sure it has to be scattered all over the code. It's would be more worrying if it had to :-)</message>
<message nick="perig" time="11:33:34.636+01:00">basically it sounds to me like a matter of "adopting" a NodeProxy. Of course, driving such an adoption with an index would bring efficiency. Well, I still have to think about this...</message>
<message nick="wolf77" time="11:34:40.335+01:00">the question is: where does the adopted NodeProxy come from?</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="11:34:54.769+01:00"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="11:36:32.431+01:00"/>
<message nick="perig" time="11:37:24.197+01:00">yes, sure. what I would call the "node's identification" (vs. the node's use)</message>
<message nick="perig" time="11:40:04.744+01:00">lunch</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="11:43:51.082+01:00"/>
<join host="d51A40105.access.telenet.be" login="n=Mephisto" nick="Mephy" time="13:11:38.075+01:00"/>
<part host="d51A40105.access.telenet.be" login="n=Mephisto" nick="Mephisto" reason="Nick collision from services." time="13:11:48.97+01:00"/>
<join host="143.169.49.3" login="n=Foundati" nick="Foundation" time="13:51:40.047+01:00"/>
<join host="90.184.83.141" login="n=kristian" nick="avanti" time="13:59:45.957+01:00"/>
<message nick="Foundation" time="14:01:12.274+01:00">hello - I have a small question concerning XQuery - don't know whether this is the correct place but I'll give it a shot</message>
<message nick="Foundation" time="14:01:20.355+01:00">I'm writing some complex xqueries for a database of xml documents, set up locally on my computer using eXist</message>
<message nick="Foundation" time="14:01:29.628+01:00">and now I have written some functions in XQuery into a separate .xq file</message>
<message nick="Foundation" time="14:01:37.459+01:00">and I wish to use these functions in other queries.</message>
<message nick="Foundation" time="14:01:50.927+01:00">The question being: how do I include these functions for use in other .xq files?</message>
<message nick="Foundation" time="14:02:14.118+01:00">Trying to do 'import module namespace myfuncs="MY_FILE_URI"' crashes the XQuery dialog client, with in the status bar:</message>
<join host="wltest-240-167.unil.ch" login="n=cefn" nick="cefn" time="14:02:32.033+01:00"/>
<message nick="Foundation" time="14:02:41.866+01:00">'Error: error found while loading module myfuncs: source for module MY_FILE_URI ... '</message>
<message nick="Foundation" time="14:02:42.247+01:00"> (can't read further)</message>
<message nick="Foundation" time="14:02:52.611+01:00">and I don't seem to find any decent information about writing queries using different files online, so I thought I'd ask here...</message>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="14:07:56.984+01:00"/>
<message nick="perig" time="14:08:19.254+01:00">what do you call "the XQuery dialog client" ?</message>
<message nick="Foundation" time="14:13:06.825+01:00">there is an exist admin client, which has a button "query the database using XPath", the frame that pops up then I call the xquery dialog client</message>
<part host="wltest-240-167.unil.ch" login="n=cefn" nick="cefn" reason="" time="14:13:12.152+01:00"/>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="14:14:56.163+01:00"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="14:17:55.998+01:00"/>
<message nick="perig" time="14:20:01.969+01:00">OK. what we call the gui client then.</message>
<message nick="perig" time="14:20:14.586+01:00">And... you can't read the error message ?</message>
<message nick="Foundation" time="14:20:27.373+01:00">hm no that's this strange thing</message>
<message nick="Foundation" time="14:20:31.459+01:00">I can't resize the window</message>
<message nick="Foundation" time="14:21:09.18+01:00">i've been wondering if it's something windows-specific, but i don't have a linux machine to test it out</message>
<message nick="perig" time="14:21:21.527+01:00">errr, the message should be duplicated in the stack trace window</message>
<message nick="Foundation" time="14:21:36.667+01:00">and whenever i try to use that import command, the client just freezes</message>
<message nick="Foundation" time="14:21:50.316+01:00">there is no stack trace window, that's the prob</message>
<message nick="Foundation" time="14:22:03.774+01:00">normally, when something goes wrong, a stack trace is popped up</message>
<message nick="Foundation" time="14:22:09.302+01:00">but not here...</message>
<message nick="perig" time="14:22:41.836+01:00">nothing in the logs ?</message>
<message nick="Foundation" time="14:22:51.509+01:00">i'm not sure whether using the import command is the right way to include function libraries</message>
<message nick="perig" time="14:23:03.005+01:00">a freeze possibly indicates an endless loop</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="14:23:30.392+01:00"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="14:23:47.014+01:00"/>
-<message nick="wolf77" time="14:24:11.798+01:00">
did you read
<a href="http://www.exist-db.org/xquery.html#N101A6">http://www.exist-db.org/xquery.html#N101A6</a>
?
</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="14:30:45.703+01:00"/>
<message nick="Foundation" time="14:34:29.277+01:00">i don't see anything in the logs that looks special to me - the file URI doesn't show up there</message>
<message nick="Foundation" time="14:34:58.376+01:00">wolf77 thanx for the link, I read it indeed, and it now occurs to me it might have to do something with this at keyword... </message>
<message nick="Foundation" time="14:36:17.394+01:00">are there any rules on how to define a namespace? Must it be a valid URI or can I just use any name? because I thought, namespace, it's the same as the file URI, so this at won't be necessary</message>
<join host="62.232.6.162" login="n=XIRCProx" nick="mpr" time="14:38:01.986+01:00"/>
<message nick="mpr" time="14:38:07.423+01:00">hi all..</message>
<message nick="mpr" time="14:38:19.209+01:00">hey, I have a quick question, maybe.. </message>
<message nick="mpr" time="14:38:52.004+01:00">exist stopped responding and I had to restart it..</message>
<message nick="mpr" time="14:39:05.422+01:00">now it seems to not respond with any results to any query</message>
<message nick="mpr" time="14:39:27.412+01:00">could an index have gotten screwed up (or something), and is it possible to rebuild it ?</message>
<message nick="wolf77" time="14:39:48.741+01:00">you don't get any warnings in the logs?</message>
<message nick="mpr" time="14:40:52.557+01:00">not that I see.. in the exist.log?</message>
<message nick="mpr" time="14:45:24.667+01:00">no ideas ?</message>
<message nick="mpr" time="14:47:09.459+01:00">2008-04-29 09:45:26,835 [P1-7] DEBUG (BFile.java [<init>]:2552) - not a data-page: page: 2; file = elements.dbx; address = 3000; page header = 64; data start = 3040 </message>
<message nick="mpr" time="14:48:03.743+01:00">[object Object]</message>
<message nick="mpr" time="14:48:26.894+01:00">java.io.IOException: not a data-page: 0</message>
<join host="dsl-207-112-71-234.tor.primus.ca" login="n=Snak" nick="polvo" time="14:49:14.279+01:00"/>
<message nick="Foundation" time="14:55:36.358+01:00">i see in my logs whenever i try to submit the query with the import module statement:</message>
<message nick="Foundation" time="14:55:41.745+01:00">DEBUG (NGramIndex.java [sync]:86) - SYNC NGRAM</message>
<message nick="Foundation" time="14:55:49.626+01:00">then a bunch of INFO messages concerning memory, index, data, etc, after which:</message>
<message nick="Foundation" time="14:55:55.974+01:00">DEBUG (Journal.java [checkpoint]:313) - Checkpoint reached</message>
<message nick="Foundation" time="14:56:01.782+01:00">DEBUG (NotificationService.java [debug]:76) - Registered</message>
<message nick="Foundation" time="14:56:07.991+01:00">UpdateListeners: </message>
<message nick="Foundation" time="14:56:13.428+01:00">(end of file)</message>
<message nick="Foundation" time="14:56:58.008+01:00">and the client just hangs - no stacktrace, nothing...</message>
-<message nick="Foundation" time="14:57:39.355+01:00">
the exact import statement looks like: import module namespace mxml="
<a href="http://exist-db.org/xquery/mxml_functions">http://exist-db.org/xquery/mxml_functions</a>
" at "file:///C:/Documents%20and%20Settings/stud_raad/Mijn%20documenten/RESEARCH/PaperForACMMir/xqueries/mxml_functions.xqm"
</message>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="15:00:05.012+01:00"/>
<message nick="perig" time="15:00:44.126+01:00">you don't make your life easy with such a URL :-)</message>
<message nick="Foundation" time="15:03:59.231+01:00">i know - yeah i work locally, it's just a file on my computer and i have a huge document tree :)</message>
<message nick="perig" time="15:04:47.136+01:00">well, your tree could start elsewhere ;-)</message>
<message nick="Foundation" time="15:04:47.887+01:00">but in theory, it should work - i've checked the requirements for file URIs, it is compliant</message>
<message nick="perig" time="15:05:08.735+01:00">however, are you sure you are experiencing a freeze, not a time-out ?</message>
<message nick="Foundation" time="15:05:52.905+01:00">i'm quite sure it freezes - I can't do anything: resize the window, press any buttons, etc</message>
<message nick="perig" time="15:06:00.225+01:00">I'm not sure eXist tries to unescape this URI into a Windows URL...</message>
<message nick="Foundation" time="15:06:08.366+01:00">I have to shutdown the client shell and restart it again</message>
<message nick="perig" time="15:06:34.131+01:00">strange. </message>
<message nick="Foundation" time="15:06:42.883+01:00">hm i'll try putting my file in C:/ then ... i'll give an update in a few minutes</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="15:07:04.362+01:00"/>
<message nick="Foundation" time="15:09:04.615+01:00">damn, now it works! :D :D :D</message>
<message nick="Foundation" time="15:09:47.263+01:00">i'll try to find what the real problem is, the "%20" or the "_"</message>
<join host="c8u.is.edu.ro" login="n=thor" nick="rebelThor" time="15:10:12.107+01:00"/>
<message nick="Foundation" time="15:13:08.166+01:00">i know what the problem is: the popup appears so much to the left that it falls outside the screen</message>
<message nick="Foundation" time="15:13:15.596+01:00">which is the result of the length of the URI</message>
<message nick="Foundation" time="15:14:04.362+01:00">the longer I make the URI of the file, the further left on the screen the popup appears</message>
<message nick="Foundation" time="15:14:49.524+01:00">and mine was so long that it fell completely off the screen, making it impossible for me to see it or close it</message>
<message nick="Foundation" time="15:15:29.668+01:00">the URI in itself is not a problem, escaping works fine</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="mpr" time="15:17:01.733+01:00"/>
<message nick="Foundation" time="15:19:00.555+01:00">( I guess that in the client code, the starting point of the popup window is calculated from the center of the longest string inside, but the width is limited to windowlength - which might result in such an effect if very long strings are used)</message>
<message nick="Foundation" time="15:20:48.351+01:00">( so I suggest that the starting point of a popup window, leftupper or leftunder or what is the default in Java, should become limited somehow) </message>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="15:21:06.095+01:00"/>
<message nick="Foundation" time="15:21:37.738+01:00">anyway, thanks for listening to my problems and giving the right hints to solve it, perig :D</message>
<message nick="perig" time="15:21:44.477+01:00">hehe : I have myself experienced such issues...</message>
<message nick="Foundation" time="15:24:46.725+01:00">i'll work from a folder C:/xquery from now on :)</message>
<message nick="perig" time="15:25:43.582+01:00">nevertheless, we have an issue with the client</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="15:28:04.674+01:00"/>
<join host="vh036a.halls.manchester.ac.uk" login="i=xt" nick="Cassi3" time="15:47:47.08+01:00"/>
<message nick="avanti" time="16:13:05.211+01:00">Hey. How can I - with this declarative language - do a session:set-attribute ONLY IF it hasn't already been set?</message>
<message nick="avanti" time="16:18:07.913+01:00">Oh, I think I get it now...</message>
<message nick="avanti" time="16:18:34.168+01:00">Just these functions always returning an empty sequence confusing me.</message>
<message nick="avanti" time="16:19:04.69+01:00">... cause I think too procedural.</message>
<message nick="avanti" time="16:21:45.598+01:00">Is there a more clever way to check if something exists and, if it does, return it than doing: "if ($somevar) then $somevar else ()"??</message>
<part host="143.169.49.3" login="n=Foundati" nick="Foundation" reason="Read error: 104 (Connection reset by peer)" time="16:23:30.501+01:00"/>
<message nick="avanti" time="16:39:23.605+01:00">In what part of the query should I put my "response:set-cookie"?</message>
<message nick="avanti" time="16:41:27.043+01:00">... Or is this something that will simply be added to the header of the response /when/ it is send after my query is done?</message>
<message nick="avanti" time="16:41:39.82+01:00">send = sent</message>
<message nick="avanti" time="16:46:48.64+01:00">Anyways, it says: HTTP ERROR: 500 Index: 2, Size: 2 :(</message>
<part host="vh036a.halls.manchester.ac.uk" login="i=xt" nick="Cassi3" time="16:54:23.287+01:00"/>
<part host="81-208-83-237.fastres.net" login="n=[giulio]" nick="[giulio]" reason="Read error: 104 (Connection reset by peer)" time="17:03:07.038+01:00"/>
<join host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" time="17:22:14.937+01:00"/>
<part host="90.184.83.141" login="n=kristian" nick="avanti" reason="Remote closed the connection" time="17:27:28.103+01:00"/>
<join host="h27078.upc-h.chello.nl" login="n=DiZzZz" nick="DiZzZz" time="18:03:45.139+01:00"/>
<part host="lns-bzn-51f-81-56-146-207.adsl.proxad.net" login="n=fxprunay" nick="Fxprunayre" reason="Read error: 113 (No route to host)" time="18:33:24.386+01:00"/>
<join host="48.109.64-86.rev.gaoland.net" login="n=fxprunay" nick="Fxprunayre" time="18:50:16.13+01:00"/>
<part host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" reason="Read error: 104 (Connection reset by peer)" time="19:00:44.594+01:00"/>
<join host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" time="19:01:03.019+01:00"/>
<message nick="DiZzZz" time="19:30:57.586+01:00">.</message>
<message nick="perig" time="19:57:38.37+01:00">.</message>
<join host="p5B20F652.dip.t-dialin.net" login="n=wolf" nick="wolf77" time="20:27:55.298+01:00"/>
<part host="h27078.upc-h.chello.nl" login="n=DiZzZz" nick="DiZzZz" reason="" time="20:59:50.804+01:00"/>
<join host="h27078.upc-h.chello.nl" login="n=DiZzZz" nick="DiZzZz" time="21:04:44.093+01:00"/>
<join host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig_" time="21:14:18.743+01:00"/>
<part host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" reason="Read error: 110 (Connection timed out)" time="21:25:14.774+01:00"/>
<join host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig__" time="21:53:02.509+01:00"/>
<part host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig_" reason="Read error: 104 (Connection reset by peer)" time="21:53:02.85+01:00"/>
<part host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" reason="Read error: 104 (Connection reset by peer)" time="22:12:31.106+01:00"/>
<part host="p5B20F652.dip.t-dialin.net" login="n=wolf" nick="wolf77" reason="Remote closed the connection" time="22:19:22.976+01:00"/>
<part host="h27078.upc-h.chello.nl" login="n=DiZzZz" nick="DiZzZz" reason="" time="22:34:25.882+01:00"/>
<part host="d51A40105.access.telenet.be" login="n=Mephisto" nick="Mephisto" reason="Nick collision from services." time="23:00:15.146+01:00"/>
<join host="d51A40105.access.telenet.be" login="n=Mephisto" nick="Mephy" time="23:00:32.94+01:00"/>
<part host="d51A40105.access.telenet.be" login="n=Mephisto" nick="Mephisto" reason="Nick collision from services." time="23:40:43.063+01:00"/>
<join host="d51A40105.access.telenet.be" login="n=Mephisto" nick="Mephy" time="23:40:59.035+01:00"/>
</xlog>