<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.text.xml.exist">
    <title>gmane.text.xml.exist</title>
    <link>http://blog.gmane.org/gmane.text.xml.exist</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38147"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38145"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38144"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38143"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38128"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38126"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38122"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38120"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38118"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38114"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38113"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38112"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38110"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38108"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38106"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38105"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38102"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38096"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38095"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.text.xml.exist/38093"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38147">
    <title>how to manually remove corrupt resources</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38147</link>
    <description>&lt;pre&gt;Trying to delete a resource via API or via REST and am failing with an
NPE coming from (final cause):
Caused by: java.lang.NullPointerException
at org.exist.storage.NativeBroker.removeXMLResource(NativeBroker.java:2255)

Unfortunately this resource lives at the root of the db, which means
that describeResource is also failing when attempting to use the GUI
client (and consequently kills it). What approach should I take to
manually remove this resource?

Thanks,
-Russ-

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>RR</dc:creator>
    <dc:date>2012-05-25T21:26:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38145">
    <title>Problem with Multibyte Unicode</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38145</link>
    <description>&lt;pre&gt;When I PUT an XML document to the db (in 1.4.2) with `Content-type:
application/x-myxml+xml; charset=UTF-8` in the headers and `&amp;lt;?xml
version="1.0" encoding="UTF-8"?&amp;gt;` as the prolog, with this
double-byte-character content:

&amp;lt;title xml:lang="ru"&amp;gt;Добро пожаловать&amp;lt;/title&amp;gt;

(Note in case this doesn't display correctly: text is Russian for "welcome")

it comes back as:

&amp;lt;title xml:lang="ru"&amp;gt;–î–æ–±—Ä–æ –ø–æ–∂–∞–ª–æ–≤–∞—Ç—å&amp;lt;/title&amp;gt;

(Note: actual garbage characters)

I've tried this with the Poster Firefox extension and with the Eclipse
plugin (Eclipse is set to UTF-8). Any idea why this is happening?

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Exist-open mailing list
Exist-open&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
&lt;/pre&gt;</description>
    <dc:creator>Hugh Guiney</dc:creator>
    <dc:date>2012-05-25T20:35:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38144">
    <title>problem running eXist 2.1 on Mac OS 10.7</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38144</link>
    <description>&lt;pre&gt;I'm having problems getting eXist to start on a current Mac. Any other 
people using Macs that have had similar problems?

I am successfully running an eXist instance on
a Mac running OS 10.7.4
java version 1.6.0_31
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-11M3635)
apache tomcat 7.0.21
eXist 1.5.0

I tried downloading and running exist-2.1-dev-rev16458 and am unable to.
The catalina log says
"org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart"
If I use the tomcat manager to start exist 2.1 I get
"FAIL - Application at context path /exist21 could not be started"
and the same error in the catalina log

I installed a newer version of tomcat (7.0.27) on that same computer and 
got the same results when I tried to launch eXist 1.5 (worked) and eXist 
2.1 (failed), so I don't think that's the issue.

I then went to a Mac running OS 10.6.8
java version 1.6.0_31
JRE build 1.6.0_31-b04-415-10M3646
apache tomcat 7.0.27

I tried to run exist-2.1-dev-rev16458 and that worked, so it appears to 
be an issue with the JRE or (less likely) the OS on the first Mac.

Can anyone tell me what I need to do with the Mac running 10.7.4 so that 
I can run recent releases of eXist on it?


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Stewart Arneil</dc:creator>
    <dc:date>2012-05-25T18:11:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38143">
    <title>HTTP 411 error using HTTP Client module (does it setContent-lenght header) ?</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38143</link>
    <description>&lt;pre&gt;Hi,

I am trying to call a SOAP service (Paypal, using "post") with the send-request() method of the HTTP Client module in eXist, taking inspiration from this example [1]. However the result is that I get a "411 Length Required" error. Note that the request endpoint is an HTTPS endpoint ("https://api-3t.sandbox.paypal.com/2.0/").

Here is the beginning of the $req object that I send using http:send-request($req) :

&amp;lt;http:request href="https://api-3t.sandbox.paypal.com/2.0/" method="post"&amp;gt;
   &amp;lt;http:header name="SOAPAction" value="SetExpressCheckout"/&amp;gt;
   &amp;lt;http:body media-type="text/xml"&amp;gt;
   ...

Note that if I try to manually set a Content-length by adding a header to the request with an arbitrary value:

   &amp;lt;http:header name="Content-length" value="1000"/&amp;gt;

Then I get an exception from the HTTP Client module :

Error found
Error executing the HTTP method
Java Stack Trace:Class NameMethod NameFile NameLine
org.expath.exist.SendRequestFunctionsendRequestSendRequestFunction.java150

So I would like to know if the http:send-request method sets the Content-lenght header, and if not how to set it manually ?

Note that to import the HTTP Client module with eXist 1.4.1-rev15155, I had to comment the following lines in 'conf.xml' (taking ideas from this thread [2]), since otherwise XQuery throws an exception. I guess eXist 1.4.2. does not fix the problem either, since it still contains the old "http-client.xqm" module uncommented in conf.xml.

&amp;lt;!-- 
    EXPath Modules 
--&amp;gt;
&amp;lt;module uri="http://expath.org/ns/http-client" class="org.expath.exist.HttpClientModule" /&amp;gt;        
&amp;lt;!-- &amp;lt;module uri="http://www.expath.org/mod/http-client" src="resource:org/expath/www/mod/http-client/http-client.xqm" /&amp;gt;       --&amp;gt;

&amp;lt;!-- Native EXPath HTTPClient Module --&amp;gt;
&amp;lt;!-- &amp;lt;module uri="http://exist-db.org/xquery/httpclient" class="org.exist.xquery.modules.httpclient.HTTPClientModule" /&amp;gt; --&amp;gt;

When setting up conf.xml as above, you can then load the HTTP Client module without throwing an exception using:
import module namespace http = "http://expath.org/ns/http-client";

Thanks in advance for any help,

Stéphane S.
---

[1] http://www.expath.org/modules/http-client/samples#soap
[2] http://exist-open.markmail.org/thread/66naklwxfidvbht5


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Stéphane S.</dc:creator>
    <dc:date>2012-05-25T17:51:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38128">
    <title>Installer fails to run in latest trunk</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38128</link>
    <description>&lt;pre&gt;Hi,

I had been using IzPack 4.3.1, and I also tried IzPack 4.3.5. For both, 
I get similar errors (here's the one from 4.3.5:)
java -jar ././lib/exist/installer/eXist-db-setup-2.1-dev.jar -p 
/usr/local/opensiddur
Installing into directory: /usr/local/opensiddur
[ Starting automated installation ]
Read pack list from xml definition.
Try to add to selection [Name: core and Index: 0]
Try to add to selection [Name: sources and Index: 1]
Try to add to selection [Name: javadoc and Index: 2]
Modify pack selection.
java.lang.ArrayIndexOutOfBoundsException: 1 &amp;gt;= 1
java.lang.ArrayIndexOutOfBoundsException: 1 &amp;gt;= 1
         at java.util.Vector.elementAt(Vector.java:470)
         at 
com.izforge.izpack.installer.AutomatedInstaller.updateInstanceCount(Unknown 
Source)
         at 
com.izforge.izpack.installer.AutomatedInstaller.doInstall(Unknown Source)
         at 
org.exist.izpack.CommandLineInstaller$EXistAutomatedInstaller.run(CommandLineInstaller.java:130)
         at 
org.exist.izpack.CommandLineInstaller.execute(CommandLineInstaller.java:104)
         at 
org.exist.izpack.CommandLineInstaller.main(CommandLineInstaller.java:140)

I read in another thread (from 2011) that 4.3.3 was a good version, but 
it's hard to find the download, let alone from a legitimate site. Would 
it be possible to package the working IzPack in eXist (or otherwise 
provide it for download)?

&lt;/pre&gt;</description>
    <dc:creator>Efraim Feinstein</dc:creator>
    <dc:date>2012-05-24T19:04:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38126">
    <title>HTTPclient fetching json</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38126</link>
    <description>&lt;pre&gt;I'm using the httpclient module to fecth json content. I notice that it throws
an exception when it tries to parse the body of the response as XML.  I see a
variant of the HTTPclient:get () with additional parser options but no
indication of what those options might be.  Can they be used to skip the parsing
and return as base64? Even better if it could return JSON rather than me doing a
hack parse.

Alternatively would the EXPath HTTP client module handle fetching JSON?

Chris 



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Chris Wallace</dc:creator>
    <dc:date>2012-05-24T17:25:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38122">
    <title>GML indexing sample availability</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38122</link>
    <description>&lt;pre&gt;Hi,

I saw the GML indexing sample as a use case for custom indexing for
eXist-db on the documentation page here:
http://www.exist-db.org/exist/devguide_indexes.xml#spatial

I wonder if this sample is available as a whole, so it would be easy to
try it out?

Best regards,


Akos

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Ákos Maróy</dc:creator>
    <dc:date>2012-05-24T16:04:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38120">
    <title>MVC: how to pass requests through multiple XQuery andXSLT views</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38120</link>
    <description>&lt;pre&gt;Hi,

I am struggling with my understanding of some URL rewriting concepts, 
more specifically the passing of requests through multiple 'views' via 
request attributes (see documentation at 
&amp;lt;http://demo.exist-db.org/exist/urlrewrite.xml#d48607e633&amp;gt;). Any advice 
or clarification is much appreciated.

I would like to check if following interpretation of that documentation 
is correct:
     -If I understand the docs correctly, performance is best when 
request data is passed over different views via request attributes, as 
opposed to via the response body?
     -The docs state that "XSLTServlet will always write to the HTTP 
response". Does this imply that:
         -passing request data via request attributes is only possible 
between 2 XQueryServlet views, or from a XQueryServlet to an XSLTServlet 
view
         -passing request data from a XSLTServlet view to a 
XQueryServlet view is only possible via the http response
     ?

Building on the examples in the documentation, I wanted to test what 
happens when multiple views are applied to a request, especially what 
this means for the interaction of subsequent XQueryServlet and 
XSTLServlet steps. Therefore, I've created a sample app (attached) that 
applies several XSLT and XQuery steps to the output of an XQuery script. 
Those scripts just copy their input and wrap it in a new root element, 
indicating the step in the pipe. Expected output for 
http://localhost:8080/exist/testMVC/start.xql is:

   &amp;lt;xq.3&amp;gt;
       &amp;lt;xsl.2&amp;gt;
           &amp;lt;xq.2&amp;gt;
               &amp;lt;xsl.1&amp;gt;
                   &amp;lt;xq.1&amp;gt;
                       &amp;lt;start&amp;gt;hello world&amp;lt;/start&amp;gt;
                   &amp;lt;/xq.1&amp;gt;
               &amp;lt;/xsl.1&amp;gt;
           &amp;lt;/xq.2&amp;gt;
       &amp;lt;/xsl.2&amp;gt;
   &amp;lt;/xq.3&amp;gt;

This can be achieved without any request attributes by following 
controller rules:

if ($exist:resource = ('start.xql')) then
   &amp;lt;dispatch xmlns="http://exist.sourceforge.net/NS/exist"&amp;gt;
     &amp;lt;view&amp;gt;
       &amp;lt;forward url="xquery1.xq"/&amp;gt;
       &amp;lt;forward servlet="XSLTServlet"&amp;gt;
         &amp;lt;set-attribute name="xslt.stylesheet" value="xsl1.xsl"/&amp;gt;
       &amp;lt;/forward&amp;gt;
       &amp;lt;forward url="xquery2.xq"/&amp;gt;
       &amp;lt;forward servlet="XSLTServlet"&amp;gt;
         &amp;lt;set-attribute name="xslt.stylesheet" value="xsl2.xsl"/&amp;gt;
       &amp;lt;/forward&amp;gt;
       &amp;lt;forward url="xquery3.xq"&amp;gt;
         &amp;lt;set-header name="Content-Type" value="text/xml"/&amp;gt;
       &amp;lt;/forward&amp;gt;
     &amp;lt;/view&amp;gt;
   &amp;lt;/dispatch&amp;gt;

Yet, I'm wondering what should be done to pass the intermediary data via 
request attributes. I've tried adding following controller rules:

if ($exist:resource = 'start.xql' and $model) then
   &amp;lt;dispatch xmlns="http://exist.sourceforge.net/NS/exist"&amp;gt;
     &amp;lt;set-attribute name="xquery.attribute" value="model"/&amp;gt;
     &amp;lt;view&amp;gt;
       &amp;lt;forward url="xquery1.xq"&amp;gt;
         &amp;lt;add-parameter name="data" value="model"/&amp;gt;
       &amp;lt;/forward&amp;gt;
       &amp;lt;forward servlet="XSLTServlet"&amp;gt;
         &amp;lt;set-attribute name="xslt.input" value="model"/&amp;gt;
         &amp;lt;set-attribute name="xslt.stylesheet" value="xsl1.xsl"/&amp;gt;
       &amp;lt;/forward&amp;gt;
       &amp;lt;forward url="xquery2.xq"&amp;gt;
         &amp;lt;add-parameter name="data" value="model"/&amp;gt;
       &amp;lt;/forward&amp;gt;
       &amp;lt;forward servlet="XSLTServlet"&amp;gt;
         &amp;lt;set-attribute name="xslt.input" value="model"/&amp;gt;
         &amp;lt;set-attribute name="xslt.stylesheet" value="xsl2.xsl"/&amp;gt;
       &amp;lt;/forward&amp;gt;
       &amp;lt;forward url="xquery3.xq"&amp;gt;
         &amp;lt;add-parameter name="data" value="model"/&amp;gt;
         &amp;lt;set-header name="Content-Type" value="text/xml"/&amp;gt;
         &amp;lt;clear-attribute name="xquery.attribute"/&amp;gt;
       &amp;lt;/forward&amp;gt;
     &amp;lt;/view&amp;gt;
     &amp;lt;error-handler&amp;gt;
       &amp;lt;forward url="error-handler.xql"/&amp;gt;
     &amp;lt;/error-handler&amp;gt;
   &amp;lt;/dispatch&amp;gt;

Yet, this does not produce the outcome I'd expect:

   &amp;lt;xq.3&amp;gt;
       &amp;lt;xq.2&amp;gt;
           &amp;lt;xq.1&amp;gt;
               &amp;lt;start&amp;gt;hello world&amp;lt;/start&amp;gt;
           &amp;lt;/xq.1&amp;gt;
       &amp;lt;/xq.2&amp;gt;
   &amp;lt;/xq.3&amp;gt;

Clearly, all XSLTServlet output is absent from this result.

Can anyone point me in the good direction?

Kind regards,

Ron
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Exist-open mailing list
Exist-open&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
&lt;/pre&gt;</description>
    <dc:creator>ron.vandenbranden&lt; at &gt;kantl.be</dc:creator>
    <dc:date>2012-05-24T14:17:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38118">
    <title>Bug? xqdoc module validates in documentationsections...</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38118</link>
    <description>&lt;pre&gt;Hi,

 

(Running: 2.0-tech-preview on Windows 7)

 

I'm getting a weird error trying to extract the xqdoc documentation from a
module using eXist's xqdoc module.

 

When I scan the attached module (which is an excerpt from a much bigger one)
with xqdm:scan(), I get the error: error while scanning module: The prefix
"xlxq" for element "xlxq:Menu" is not bound.

 

As you can see, there is only one location where &amp;lt;xlxq:Menu&amp;gt;  is referenced,
and that is in a documentation section!

 

As soon as I remove the &amp;lt;xlxq:Menu&amp;gt; from the documentation part, the error
disappears.

 

Pretty sure this is a bug.

 

Anybody any comments?

 

 

Erik Siegel

 

 

 

 

 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Exist-open mailing list
Exist-open&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
&lt;/pre&gt;</description>
    <dc:creator>Erik Siegel</dc:creator>
    <dc:date>2012-05-24T13:52:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38114">
    <title>atom format not read by feedreaders</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38114</link>
    <description>&lt;pre&gt;Hi,

To my amazement some feed readers won't parse &amp;lt;atom:entry
xmlns:atom="http://www.w3.org/2005/Atom"&amp;gt; but only &amp;lt;entry
xmlns="http://www.w3.org/2005/Atom"&amp;gt;. Could the format of the atom
module be updated please?

Thanks.

&lt;/pre&gt;</description>
    <dc:creator>W.S. Hager</dc:creator>
    <dc:date>2012-05-24T13:13:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38113">
    <title>FYI: U or Richmond releases ios app that uses eXist-db</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38113</link>
    <description>&lt;pre&gt;This is just an FYI for those of you that care….

We have been working on an iphone and android app for a few months. The ios app is now in the itunes store (free). http://itunes.apple.com/us/app/university-of-richmond/id527649409?mt=8

The update wall and several modules makes heavy usage of eXist-db.

Eric Palmer
U of Richmond

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Exist-open mailing list
Exist-open&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
&lt;/pre&gt;</description>
    <dc:creator>Palmer, Eric</dc:creator>
    <dc:date>2012-05-24T12:37:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38112">
    <title>Latest in eXist-db from history.state.gov</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38112</link>
    <description>&lt;pre&gt;Hi all,

I wanted to share a blog article I wrote that mentions how exist-db
has enabled my office to create web publications and release ebooks.

  http://blogs.state.gov/index.php/site/entry/frus_ebook

We also launched a twitter widget on our homepage, for which the
twitter modules in trunk were extremely useful.  The widget, on
history.state.gov, shows the most recent tweet from &amp;lt; at &amp;gt;HistoryAtState.
Many thanks for all of the wonderful functionality built into
eXist-db, which made the development of this feature (to name but one)
rapid and customizable.

Cheers,
Joe

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Joe Wicentowski</dc:creator>
    <dc:date>2012-05-24T11:54:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38110">
    <title>Reuse in xForms</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38110</link>
    <description>&lt;pre&gt;Please advise the best mailing list to post this to.

I have several selects in which I wish to plug in the code below
(obtained from the Xform wikibook).

            &amp;lt;xf:itemset

nodeset="instance('code-tables')/code-table[&amp;lt; at &amp;gt;code-table-id='ItemColorCode']/item"&amp;gt;
                &amp;lt;xf:label ref="label"/&amp;gt;
                &amp;lt;xf:value ref="value"/&amp;gt;
            &amp;lt;/xf:itemset&amp;gt;

Ideally I would abstract it into a function and paramaterise
&amp;lt; at &amp;gt;code-table-id. Is there an alternative to pasting this all over my
XForm.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>Ihe Onwuka</dc:creator>
    <dc:date>2012-05-23T20:23:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38108">
    <title>NPE in xmldb:create-group()</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38108</link>
    <description>&lt;pre&gt;Hi,

If you run xmldb:create-group() on an already existing group, the 
expected result is that it returns false(). Instead, an NPR (attached 
below) occurs.

Thanks,

&lt;/pre&gt;</description>
    <dc:creator>Efraim Feinstein</dc:creator>
    <dc:date>2012-05-24T03:21:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38106">
    <title>Heads up for anyone running eXist on Amazon Linux - Subversion 1.7 upgrade incompatibility</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38106</link>
    <description>&lt;pre&gt;I know there are several others running eXist-db on the Amazon Linux
instances.  Amazon just released an update that installs subversion 1.7 as
the default client.

If you checked out your eXist source code on subversion 1.6 you may not be
able to get updates on the AWS default UNIX instances after the latest
updates.  The new version of subversion generated the following errors on
updates:

$ cd $EXIST_HOME
$ sudo svn update
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: Working copy '/exist' is too old (format 10, created by
Subversion 1.6)

But this does not seem to work...

$ sudo svn upgrade
svn: E155019: Can't upgrade '/exist' as it is not a pre-1.7 working copy
root, the root is '/exist/'

One solution is to re-checkout everything under 1.7 or just re-install the
1.6 version of subversion using the yum command.  Note that "yum downgrade"
does not work:

#!/bin/sh

# this shell script should be run after you do a "sudo yum update" on the
AWS instances
# note that "yum downgrade subversion-libs-1.7.4-1.19.amzn1.x86_64" does
not run

# remove the new subversion 1.7 libraries
sudo yum -y erase subversion-libs-1.7.4-1.19.amzn1.x86_64

# now add back the old version
sudo yum -y install subversion-1.6.17-1.14.amzn1.x86_64

# this should return version 1.6
svn --version

- Dan
&lt;/pre&gt;</description>
    <dc:creator>Dan McCreary</dc:creator>
    <dc:date>2012-05-23T21:05:43</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38105">
    <title>Creating an un-deletable group</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38105</link>
    <description>&lt;pre&gt;Running this XQuery as admin:
(
xmldb:create-user("test", "test", "guest", ()),
xmldb:create-group("test", ("admin", "test")), (: creating a group with 
2 group managers :)
xmldb:delete-user("test"),
sm:delete-group("test")
)

The result is an exception: "Only a group manager may delete a group"

Since admin is a group manager, it should be able to remove the group.

I am running an up-to-date svn copy of eXist 2.0.x (although I could try 
trunk if you think this is fixed there).

Thanks,

&lt;/pre&gt;</description>
    <dc:creator>Efraim Feinstein</dc:creator>
    <dc:date>2012-05-23T20:27:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38102">
    <title>dom.dbx corrupt!?</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38102</link>
    <description>&lt;pre&gt;Hi Exist mailinglist,

We are getting the error in the consistency check report :
ERR_DOM_INDEX:
Failed to access node 1 through dom.dbx index. Wrong storage address. Expected: -1; got: &amp;lt;number&amp;gt;-

We are using Exist:
Version: 1.4.1
SVN Revision: 15155
Build: 20110815

Is the dom.dbx corupt? How can we fix this? And how can we prefent this in the future?
Reindexing did not help, we are now planning a backup &amp;amp; resore.

Thanks,
Sander Schouten | Experienced software engineer
Prof.W.H. Keesomlaan 14, 1183 DJ Amstelveen | Nederland
T: +31 (0)88 5646929 | M: +31 (0)6 83 178 819
sander.schouten&amp;lt; at &amp;gt;logica.com &amp;lt;mailto:sander.schouten&amp;lt; at &amp;gt;logica.com&amp;gt; | www.logica.com&amp;lt;http://www.logica.com/&amp;gt;
Logica Nederland BV, registered office in Amstelveen, The Netherlands
Registration Number Chamber of Commerce: 33136004



Think green - keep it on the screen.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
Exist-open mailing list
Exist-open&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
&lt;/pre&gt;</description>
    <dc:creator>Schouten, Sander</dc:creator>
    <dc:date>2012-05-23T14:24:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38096">
    <title>trouble with restoring 2.0 database</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38096</link>
    <description>&lt;pre&gt;Dear eXist users,

I had serious trouble restoring an inaccessible 2.0 database, yesterday.

For some unknown reason, I could not restart the database I have been using
for many months. This database runs on a (headless) server. Then I tried
the following:

   - to run an emergency backup from the command line. However, this failed.
   - I renamed the data directory and created a new one, restarted eXist.
   Then tried to restore it using the backup facility from the command line. I
   tried several things but failed in all:
      - as the fresh database had an empty admin password, I could not
      access it. Neither leaving out the -u admin, nor leaving a blank
after -p,
      nor inserting an empty string for the password gave me access.
      - I then set the same password on the admin as was in the backup
      (through oXygen, which connected with the new database). However, I got a
      message that the zip file could not be used (I made certain it was found)
      - I then unzipped the backup and tried to restore by pointing to the
      main __contents__.xml file. This failed with the message that it
was not a
      proper __contents__.xml file.
      - I then tried to restore one of the subdirectories, with no success.
   - Next, I tried to run the java client. However, after entering the
   credentials and the url, the client window just disappeared! The process
   keeps on running. though.
   - When I first moved to 2.0, I populated the database using a restore
   from the java client. I remembered that (by mistake) I used the 1.4.2
   client. So I reinstalled 1.4.2 and tried the client that comes with it -
   with the same result - its window just disappears.
   - All the above is work on a server that runs Ubuntu 10.04 and a
   workstation that runs Ubuntu 11.10. I then tried to run the (2.0) client on
   mac os x 10.7.4 but got the same results.

I finally tried to run the java client from the web start button on the
site. I could not make it run on Ubuntu 11.10, but succeeded on mac os x.
This is how I restored my database!

Even though I found a route, it is far from optimal as I had to move the
backups from my server to my workstation and then have the java client send
it all back again.

I'd be glad to re-run some of the processes to provide exact results and
messages if someone starts to work on this.

Joop Ringelberg

PS. an afterthought: I found in the mailing list that to restore
incremental backups, one just has to restore the very latest incremental -
not the entire series starting with the last full backup, then the next
incremental, and so on. This is not in the documentation pages but would
spare people a lot of waiting if it was.


&lt;/pre&gt;</description>
    <dc:creator>Joop Ringelberg</dc:creator>
    <dc:date>2012-05-23T14:29:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38095">
    <title>selecting last() on preceding and following axis</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38095</link>
    <description>&lt;pre&gt;Dear all, 

I just encountered something that looks like a bug (and could be related to [1]?)

Given following query (tested on 2.1-dev-rev16234-20120410 sandbox):
let $testData := 
    &amp;lt;root&amp;gt;
        &amp;lt;item docID="A1"/&amp;gt;
        &amp;lt;item docID="A2"/&amp;gt;
        &amp;lt;item docID="A3"/&amp;gt;
    &amp;lt;/root&amp;gt;
let $caseA :=  $testData//item[&amp;lt; at &amp;gt;docID = 'A3']/preceding-sibling::item[last()]
let $caseB :=  $testData//item[&amp;lt; at &amp;gt;docID = 'A3']/preceding-sibling::item[xs:integer(last())]
let $caseC :=  $testData//item[&amp;lt; at &amp;gt;docID = 'A3']/preceding-sibling::item[position() eq last()]
let $caseD :=  $testData//item[&amp;lt; at &amp;gt;docID = 'A3']/preceding-sibling::item[1]
let $caseE :=  $testData//item[&amp;lt; at &amp;gt;docID = 'A3']/preceding-sibling::item[xs:integer(1)]
let $caseF :=  $testData//item[&amp;lt; at &amp;gt;docID = 'A1']/following-sibling::item[1]
let $caseG :=  $testData//item[&amp;lt; at &amp;gt;docID = 'A1']/following-sibling::item[last()]
let $caseH :=  $testData//item[&amp;lt; at &amp;gt;docID = 'A1']/following-sibling::item[xs:integer(last())]

return $caseA 

Results:
A) nothing --&amp;gt; wrong
B) &amp;lt;item docID="A2"/&amp;gt; --&amp;gt; correct
C) &amp;lt;item docID="A2"/&amp;gt; --&amp;gt; correct
D) &amp;lt;item docID="A2"/&amp;gt; --&amp;gt; wrong
E) &amp;lt;item docID="A1"/&amp;gt; --&amp;gt; correct
F) &amp;lt;item docID="A2"/&amp;gt; --&amp;gt; correct
G) nothing --&amp;gt; wrong
H) &amp;lt;item docID="A3"/&amp;gt; --&amp;gt; correct

By the way, the results are the same for preceding-sibling and the preceding-axis (following vice versa).

To me it looks like there are two issues: 
First, last() seems not to be evaluated correctly. A) and G)
Second, the ordering of the preceding-axis seems to be reversed (mixed up?) D)

Am I missing something or should I file a bug report?

All the best
Peter

[1] http://exist.2174344.n4.nabble.com/Sequence-order-bugs-td4410360.html


&lt;/pre&gt;</description>
    <dc:creator>Peter Stadler</dc:creator>
    <dc:date>2012-05-23T14:01:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38093">
    <title>enable atom in exist</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38093</link>
    <description>&lt;pre&gt;Hi,

Dumb question but how can I enable atom in the... ah... non-standalone version?

&lt;/pre&gt;</description>
    <dc:creator>W.S. Hager</dc:creator>
    <dc:date>2012-05-22T22:20:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.text.xml.exist/38087">
    <title>long polling (comet)</title>
    <link>http://comments.gmane.org/gmane.text.xml.exist/38087</link>
    <description>&lt;pre&gt;Hi All,

How would I go about creating the possibility to subscribe to
modifications using decent long polling (AKA comet(d))? I want to
create a simple Atom app but don't want to overhead of fetching and
sorting out all entries every time. I know Jetty provides long polling
out of the box, but how can this be used in eXist (1.4.1 or 2.0)?

Thanks.

&lt;/pre&gt;</description>
    <dc:creator>W.S. Hager</dc:creator>
    <dc:date>2012-05-22T18:42:10</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.text.xml.exist">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.text.xml.exist</link>
  </textinput>
</rdf:RDF>

