<part host="ua-83-227-136-141.cust.bredbandsbolaget.se" login="n=ljo" nick="ljo" reason="zelazny.freenode.net irc.freenode.net" time="04:57:05.902Z"/>
<join host="ua-83-227-136-141.cust.bredbandsbolaget.se" login="n=ljo" nick="ljo" time="05:00:28.347Z"/>
<part host="ua-83-227-136-141.cust.bredbandsbolaget.se" login="n=ljo" nick="ljo" reason="zelazny.freenode.net irc.freenode.net" time="05:00:33.223Z"/>
<join host="ua-83-227-136-141.cust.bredbandsbolaget.se" login="n=ljo" nick="ljo" time="05:01:18.735Z"/>
<part host="ua-83-227-136-141.cust.bredbandsbolaget.se" login="n=ljo" nick="ljo" reason="Read error: 104 (Connection reset by peer)" time="07:51:50.569Z"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="07:53:55.238Z"/>
<join host="bakunin.spraakdata.gu.se" login="n=ljo" nick="ljo" time="08:20:40.438Z"/>
<join host="81-208-83-237.fastres.net" login="n=[giulio]" nick="[giulio]" time="08:21:05.382Z"/>
<part host="nod112.ii.fmph.uniba.sk" login="i=stettner" nick="stettner" reason="Remote closed the connection" time="08:26:29.382Z"/>
<join host="nod112.ii.fmph.uniba.sk" login="i=stettner" nick="stettner" time="08:26:33.157Z"/>
<part host="bakunin.spraakdata.gu.se" login="n=ljo" nick="ljo" reason="zelazny.freenode.net irc.freenode.net" time="08:32:02.705Z"/>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" reason="zelazny.freenode.net irc.freenode.net" time="08:32:02.735Z"/>
<part host="62.232.6.162" login="n=XIRCProx" nick="nightmare" reason="zelazny.freenode.net irc.freenode.net" time="08:32:02.745Z"/>
<part host="62.232.6.162" login="n=XIRCProx" nick="alphatester" reason="zelazny.freenode.net irc.freenode.net" time="08:32:02.765Z"/>
<join host="nod112.ii.fmph.uniba.sk" login="i=stettner" nick="stettner_" time="08:32:49.308Z"/>
<part host="nod112.ii.fmph.uniba.sk" login="i=stettner" nick="stettner" reason="Read error: 104 (Connection reset by peer)" time="08:33:05.25Z"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig_" time="08:36:58.316Z"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="DiZzZz" time="09:38:55.024Z"/>
<join host="62.232.6.162" login="n=PircBot" nick="XDrone" time="09:57:02.271Z"/>
<join host="62.232.6.162" login="n=XIRCProx" nick="wolf77" time="10:15:50.293Z"/>
<message nick="wolf77" time="10:16:08.107Z">aha, here you are ;-)</message>
<message nick="wolf77" time="10:16:46.279Z">ljo and I were isolated on a different irc server</message>
<message nick="DiZzZz" time="10:17:22.328Z">ah!</message>
<message nick="wolf77" time="10:17:26.794Z">perig_: if you have an expression:</message>
<message nick="DiZzZz" time="10:17:35.966Z">:-) xdrone as well?</message>
<message nick="DiZzZz" time="10:17:45.459Z">netsplit.... great</message>
<message nick="wolf77" time="10:18:01.941Z">let $ordered := for $n in ... order by $n/nn return $n</message>
<message nick="wolf77" time="10:18:09.592Z">return $ordered[1]</message>
<message nick="wolf77" time="10:18:35.577Z">should the positional predicate return the first item in the ordered sequence or the first one in document order?</message>
<message nick="wolf77" time="10:20:34.879Z">(right now eXist returns the first in document order)</message>
<message nick="perig_" time="10:21:15.304Z">Hi all</message>
<message nick="perig_" time="10:23:37.938Z">Well, nearly sure the document order should disappear here</message>
<message nick="perig_" time="10:24:07.127Z">Have to theck, but that leads us back to ArrayNodeSet revival</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="DiZzZz" time="10:24:18.373Z"/>
<message nick="perig_" time="10:33:13.439Z">mmh... can't reproduce ?</message>
<message nick="wolf77" time="10:33:43.64Z">I'm using the example posted by Sebastian Rahtz</message>
<message nick="wolf77" time="10:34:01.495Z">"puzzling error examining ..."</message>
<message nick="wolf77" time="10:34:35.26Z">it results in the well-known ClassCastException</message>
<message nick="perig_" time="10:37:54.331Z">yeah : trying to simplify that :-)</message>
<message nick="wolf77" time="10:38:36.538Z">I partially fixed it yesterday by re-writing the commented out section in OrderedValueSequence.</message>
<message nick="wolf77" time="10:38:56.255Z">but the original question remains</message>
<message nick="perig_" time="10:40:31.644Z">yes. I have understood , we cleanly have some problems here (see bug tracker) ; that's why I've deferred most of this stuff until we have a new architecture for in-memory nodes</message>
<message nick="perig_" time="10:41:25.047Z">BTW, I have a long standing patch in OrderedValueSequence</message>
<join host="62.232.6.162" login="n=XIRCProx" nick="DiZzZz" time="10:42:13.132Z"/>
<message nick="wolf77" time="10:42:51.294Z">would it help - for a start - if we generate node ids for the in-memory DOM? it would then be easier to map the stored nodes to the in-memory ones.</message>
<message nick="perig_" time="10:44:05.555Z">O yes ! I think think it might be a good idea</message>
<message nick="wolf77" time="10:45:06.297Z">well, I can try that. we will need the code anyway if we want to make the two DOMs compatible.</message>
<message nick="perig_" time="10:49:04.821Z">Won't it make the merge complicated ? (I already think it would be difficult)</message>
<message nick="wolf77" time="10:49:31.828Z">Not sure. Adam will need this code to finish his stuff.</message>
<message nick="wolf77" time="10:49:51.305Z">I guess it will just be one additional method in DocumentImpl</message>
<message nick="perig_" time="10:50:07.927Z">Sure, but since I never see traunk ports to his branch...</message>
<message nick="wolf77" time="10:50:35.314Z">He will have difficulties indeed.</message>
<message nick="wolf77" time="10:58:24.632Z">and there's a 2nd issue here, this time related to context sequences:</message>
<message nick="wolf77" time="10:58:27.285Z">{$q[1]/tei:forename}: {count($q)}: {data($q[1]/@notBefore)}: {data($q[last()]/@notAfter)}</message>
<message nick="wolf77" time="10:58:50.717Z">the result of count($q) becomes the context sequence for the following data() call</message>
<message nick="wolf77" time="10:59:10.654Z">I would say this is certainly wrong, isn't it?</message>
<message nick="perig_" time="11:02:34.141Z">yes, we still have some issues in this area</message>
<message nick="perig_" time="11:05:11.524Z">... and I've been wondering if we shouldn't push/pop the context sequences</message>
<message nick="wolf77" time="11:07:16.124Z">well, in this case, the outer <p> element constructor uses a PathExpr for its content. And PathExpr will chain the context sequences. This is not desirable here though.</message>
<message nick="wolf77" time="11:08:52.805Z">so I will just add a flag to PathExpr to make it keep the outer context sequence</message>
<message nick="wolf77" time="11:31:30.959Z">let $n := <root><a>H</a><a>B</a><a>C</a><a>A</a></root></message>
<message nick="wolf77" time="11:32:06.658Z">let $ordered := for $a in $n/a order by $a/text() return $a</message>
<message nick="wolf77" time="11:32:13.678Z">return $ordered[last()]</message>
<message nick="wolf77" time="11:32:42.647Z">saxon returns <a>H</a></message>
<message nick="wolf77" time="11:33:08.512Z">so the positional predicate selects from the ordered set.</message>
<message nick="perig_" time="12:15:08.995Z">hehe, I wonder if the lastest patch hasn't some positive effect on the XQTS</message>
<message nick="wolf77" time="12:15:22.844Z">unfortunately not :-(</message>
<message nick="wolf77" time="12:15:53.175Z">but it also has no negative effect. there are just no matching tests. ;-)</message>
<message nick="perig_" time="12:19:13.377Z">really ? I would have though no... never mind</message>
<message nick="perig_" time="12:19:19.606Z">so</message>
<join host="62.232.6.162" login="n=XIRCProx" nick="perig" time="14:09:27.16Z"/>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig_" time="14:09:56.079Z"/>
<part host="62.232.6.162" login="n=XIRCProx" nick="wolf77" reason="Killed by sagan.freenode.net (Nick collision)" time="15:02:41.692Z"/>
<join host="p5B20F88B.dip.t-dialin.net" login="n=wolf" nick="wolf77" time="15:02:41.712Z"/>
<join host="bakunin.spraakdata.gu.se" login="n=ljo" nick="ljo" time="15:02:41.732Z"/>
<join host="external.murkworks.com" login="n=bkc" nick="bkc_" time="15:08:09.076Z"/>
<part host="external.murkworks.com" login="n=bkc" nick="bkc" reason="Read error: 110 (Connection timed out)" time="15:12:12.887Z"/>
<message nick="perig" time="15:17:20.575Z">wolf77's been killed ?</message>
<message nick="DiZzZz" time="15:17:34.845Z">??</message>
<message nick="DiZzZz" time="15:17:42.705Z">ah yeah I see</message>
<message nick="DiZzZz" time="15:17:48.213Z">hihihihihhi</message>
<message nick="wolf77" time="15:17:49.254Z">No, I can still see you</message>
<message nick="perig" time="15:18:00.359Z">miracle ! :-)</message>
<message nick="DiZzZz" time="15:18:04.645Z">"wolf77 [n=XIRCProx@62.232.6.162] has quit: "Killed by sagan.freenode.net (Nick Collision)"</message>
<message nick="perig" time="15:19:12.017Z">so : -s or -l ?</message>
<message nick="wolf77" time="15:19:13.168Z">hehe, ljo and I were sitting on this node the whole day</message>
<message nick="wolf77" time="15:20:47.276Z">-l starts an embedded connection</message>
<message nick="wolf77" time="15:20:51.862Z">so -s is correct</message>
<message nick="perig" time="15:24:35.065Z">is Jayesh really subscribed ?</message>
<message nick="wolf77" time="15:25:49.617Z">I manually approved his last message ;-)</message>
<message nick="wolf77" time="15:26:07.911Z">maybe I should subscribe him by force...</message>
<message nick="perig" time="15:26:31.223Z">is "approved" the correct word ?</message>
<message nick="wolf77" time="15:27:16.234Z">well, the mailing list manager asks to "approve or deny" the request</message>
<message nick="wolf77" time="15:28:01.075Z">which doesn't mean I personally approve what he wrote ;-)</message>
<message nick="perig" time="15:29:17.249Z">Some fear the machines ; we now know that humans are worse :-)</message>
<message nick="perig" time="15:30:53.419Z">Well, I plan to introduce a configuration option that wouldn't bind deprecated functions. Would help the XQTS...</message>
<message nick="wolf77" time="15:32:36.87Z">I also saw in the XQTS we lack some checks for duplicate function names.</message>
<message nick="perig" time="15:33:24.825Z">yes : this part of the code needs to be reconsidered </message>
<message nick="perig" time="15:33:41.738Z">... but I think it might be better to wait for the new parser</message>
<message nick="wolf77" time="15:33:54.075Z">could be, yes</message>
<message nick="perig" time="15:35:10.779Z">bbl</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="perig" time="15:35:14.043Z"/>
<message nick="DiZzZz" time="15:43:31.168Z">I pinged him as well (Jayesh)</message>
<message nick="DiZzZz" time="15:44:06.717Z">double function names... there is a report available + test</message>
<message nick="DiZzZz" time="15:45:52.921Z">I have a confirmation about xmlprague ; no event this year. We'll be pinged in may for ideas for 2009 session (march 2009)</message>
<message nick="wolf77" time="15:47:20.39Z">ok, we have to organize something by ourselves then</message>
<part host="62.232.6.162" login="n=XIRCProx" nick="DiZzZz" time="15:57:57.215Z"/>
<message nick="ljo" time="16:09:50.323Z">.</message>
<join host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" time="16:30:25.851Z"/>
<part host="bakunin.spraakdata.gu.se" login="n=ljo" nick="ljo" reason="Read error: 110 (Connection timed out)" time="16:34:18.517Z"/>
<join host="86.57.194.203" login="n=scand" nick="newbie2" time="16:50:55.02Z"/>
<message nick="newbie2" time="16:51:00.238Z">hello</message>
<message nick="newbie2" time="16:51:56.955Z">is these possible to run XQuery script with & by some replace sequence?</message>
<message nick="newbie2" time="16:52:16.301Z">for example &</message>
<message nick="newbie2" time="16:52:56.525Z">or it's forbidden by database at all</message>
<message nick="Mephisto" time="16:55:19.259Z">you actually mean you have a query with a string like .. "Tom & Jerry" that doesn't work?</message>
<message nick="newbie2" time="16:58:01.44Z">yeah</message>
<message nick="Mephisto" time="16:58:17.982Z">"Tom &amp; Jerry"</message>
<message nick="newbie2" time="16:58:22.949Z">but i should mention that i have an old version of database</message>
<message nick="newbie2" time="16:58:52.479Z">i have an exception, something like: "Ampersand should be escaped ..."</message>
<message nick="newbie2" time="16:58:59.929Z">besides</message>
<message nick="newbie2" time="16:59:16.101Z">that script change current user password</message>
<message nick="newbie2" time="17:00:46.304Z">Mephisto: what do you so surprised? is that should work?</message>
<message nick="newbie2" time="17:00:47.275Z">java.rmi.RemoteException: query execution failed: expecting '"', found '&'</message>
<message nick="newbie2" time="17:00:57.709Z">java.rmi.RemoteException: query execution failed: XPST0003 : Ampersands (&) must be escaped (following character was not a name start character).</message>
<message nick="newbie2" time="17:01:07.713Z">let $l := "\&"</message>
<message nick="newbie2" time="17:01:07.743Z">return $l</message>
<message nick="newbie2" time="17:01:25.397Z">Mephisto: do you know something about it?</message>
<message nick="Mephisto" time="17:01:29.692Z">no, you don't need C-style escaping</message>
<message nick="Mephisto" time="17:01:44.603Z">try what i posted</message>
<message nick="newbie2" time="17:02:03.769Z">let $l := "&"</message>
<message nick="newbie2" time="17:02:03.799Z">return $l</message>
<message nick="newbie2" time="17:02:20.572Z">the second script raise first exception</message>
<message nick="Mephisto" time="17:02:44.093Z">let $l := "&amp;"</message>
<message nick="newbie2" time="17:03:26.521Z">another major thing</message>
<message nick="newbie2" time="17:03:32.87Z">i run script via SOAP</message>
<part host="81-208-83-237.fastres.net" login="n=[giulio]" nick="[giulio]" reason="Read error: 104 (Connection reset by peer)" time="17:07:13.519Z"/>
<message nick="perig" time="17:28:55.337Z">.</message>
<part host="86.57.194.203" login="n=scand" nick="newbie2" reason="Read error: 110 (Connection timed out)" time="18:17:45.066Z"/>
<part host="flatrock.eu" login="n=whiter" nick="Wh|teRuss" reason="Read error: 110 (Connection timed out)" time="18:41:49.799Z"/>
<join host="i188127.upc-i.chello.nl" login="n=DiZzZz" nick="DiZzZz" time="19:29:45.134Z"/>
<join host="212.98.174.137" login="n=scand" nick="[" time="19:58:30.287Z"/>
<part host="212.98.174.137" login="n=scand" nick="[" reason="Remote closed the connection" time="20:28:43.449Z"/>
<join host="62.232.6.162" login="n=PircBot" nick="XDrone" time="22:12:54.299Z"/>
<join host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" time="23:03:48.858Z"/>
<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="23:43:02.204Z"/>
</xlog>