Re: Xpath "or queries"

2006-04-03 Thread Marcel Reutegger
Daglian, Michael (IT) wrote: I was wondering what the proper syntax is for executing or statements within an xpath query. According to the spec something like the following should be possible (although totally contrived in this case): //element(*, nt:file) or //element(*, mix:lockable) from a

query feature extensions

2006-04-03 Thread Marcel Reutegger
Jackrabbit currently supports a limited set of XPath features, basically the mandatory feature set as specified by jsr-170 plus some extended capability where predicates can stated. I would like to invite everyone (or at least whoever is interested...) to put together a list of 3 query feature

Re: [VOTE] Release Apache Jackrabbit 1.0

2006-04-03 Thread Tobias Bocanegra
+1 Release the packages as Apache Jackrabbit 1.0 great job! thanks jukka. -- -< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97

Re: Mixin values.

2006-04-03 Thread Marcel Reutegger
hsp wrote: Let's supose I need to store in a useraccess propertie of myapp:user node type two values: itemId and kindRight (concatenated..., maybe). Will I get success using the propertie associating it with mixin (multiple values)? So the user Node Helio, has the propertie useraccess with the

Re: Jackrabbit 1.0 RC3 and references to versions

2006-04-03 Thread Alvaro Gonzalez
The same test works fine in my local copy of jackrabbit but not in my project, so I suppose the problem is not in Jackrabbit, but in my project configuration. When I'll find where is the problem I'll post it to the mail list. Regards,   Álvaro -- Alvaro Gonzalez de Paz Germinus XXI http://

Re: [VOTE] Release Apache Jackrabbit 1.0

2006-04-03 Thread Marcel Reutegger
Jukka Zitting wrote: Please vote on releasing these packages as Apache Jackrabbit 1.0. The vote is open for the next 72 hours, and only votes from Jackrabbit committers are considered binding. The vote passes if at least three +1 votes are cast. [ ] +1 Release the packages are Apache Jackrabbi

[jira] Reopened: (JCR-379) Remove the unneeded cqfs dependencies

2006-04-03 Thread Marcel Reutegger (JIRA)
[ http://issues.apache.org/jira/browse/JCR-379?page=all ] Marcel Reutegger reopened JCR-379: -- Configuration still references CQFS filesystem in repository.xml. I suggest we configure the derby persistence manager and add the derby library as dependen

Re: query feature extensions

2006-04-03 Thread Cédric Damioli
Marcel Reutegger a écrit : Jackrabbit currently supports a limited set of XPath features, basically the mandatory feature set as specified by jsr-170 plus some extended capability where predicates can stated. I would like to invite everyone (or at least whoever is interested...) to put togeth

Login error with null Credentials

2006-04-03 Thread Paco Avila
I hace a webapp configured with security. So I need to login on it, using BASIC authentication. When I do: Repository r = (Repository) ctx.lookup("repo"); Session session = r.login(); Jackrabbit is supposed to get credentials from the authenticated user, but fails. In my protected JSP i do: Acc

Re: query feature extensions

2006-04-03 Thread Thomas Scheffler
Am Montag, 3. April 2006 09:13 schrieb Marcel Reutegger: > Jackrabbit currently supports a limited set of XPath features, basically > the mandatory feature set as specified by jsr-170 plus some extended > capability where predicates can stated. > > I would like to invite everyone (or at least whoev

Re: query feature extensions

2006-04-03 Thread Aarnout van der Meulen
At this moment, I only have 2 query features at my wish list: 1) use of fn:lower-case() and fn:upper-case() while searching property-values At this moment, full-text search with jcr:contains is case-insensitive, while other searches are case-sensitive. I would like to execute queries like: //*[

Re: [VOTE] Release Apache Jackrabbit 1.0

2006-04-03 Thread Jukka Zitting
Hi, On 4/3/06, Marcel Reutegger <[EMAIL PROTECTED]> wrote: > [X] -1 Do not release the packages because... > > the jackrabbit server web application: > http://people.apache.org/~jukka/jackrabbit/1.0/jackrabbit-server-1.0.war > is broken. Darn, my bad. I had the cqfs files lying in Tomcat's shared

Restore a version of a node property

2006-04-03 Thread Oliver Wehrens
Hi, Apologies if this is not a real Jackrabbit Developer question. I have a node with properties and a couple of versions of it. Now I want to extract from a particular version a specific property. Do I see that right, that the only way of getting the versioned property is to restore the node (in

[jira] Created: (JCR-384) Changes of JCR-313 introduced db-transaction problem

2006-04-03 Thread Tobias Bocanegra (JIRA)
Changes of JCR-313 introduced db-transaction problem Key: JCR-384 URL: http://issues.apache.org/jira/browse/JCR-384 Project: Jackrabbit Type: Bug Components: core Versions: 1.1 Reporter: Tobias Boc

Re: Restore a version of a node property

2006-04-03 Thread Tobias Bocanegra
hi oliver, you can access the content of the version directly in the jcr:versionStorage. either by searching for your version, or by using the version history: node.getVersionHistory().getVersion(xyz).getNode("jcr:frozenNode").getProperty("yourprop"); regards, toby btw: see http://jackrabbit.apa

Re: query feature extensions

2006-04-03 Thread Alexandru Popescu
IMO all included so far are pretty good. I would add only the position() > | < N, for allowing not jsr-170 dependent paging queries. ./alex -- .w( the_mindstorm )p. On 4/3/06, Aarnout van der Meulen <[EMAIL PROTECTED]> wrote: > At this moment, I only have 2 query features at my wish list: > > 1)

[jira] Closed: (JCR-384) Changes of JCR-313 introduced db-transaction problem

2006-04-03 Thread Tobias Bocanegra (JIRA)
[ http://issues.apache.org/jira/browse/JCR-384?page=all ] Tobias Bocanegra closed JCR-384: Resolution: Fixed restructured the DatabaseFilesystem code a bit and chaned the autocommit default to 'true' again. fixed in r391012 > Changes of JCR-313 i

Re: Login error with null Credentials

2006-04-03 Thread Paco Avila
El lun, 03-04-2006 a las 11:28 +0200, Paco Avila escribió: > I hace a webapp configured with security. So I need to login on it, > using BASIC authentication. When I do: > > Repository r = (Repository) ctx.lookup("repo"); > Session session = r.login(); > > Jackrabbit is supposed to get credential

[jira] Created: (JCR-385) ClassCastExeption when executing union queries

2006-04-03 Thread Michael Daglian (JIRA)
ClassCastExeption when executing union queries -- Key: JCR-385 URL: http://issues.apache.org/jira/browse/JCR-385 Project: Jackrabbit Type: Bug Components: query Reporter: Michael Daglian The XPathQueryBuilder thr

Re: Jackrabbit 1.0 RC3 and references to versions

2006-04-03 Thread Alvaro Gonzalez
Hi all,  I have discovered where is the problem with my configuration. I have read in RELEASE-NOTES that a full rebuild of the index is required. But this is not enough, a element at the end of the repository config file is needed too (as stated in Jira issue [JCR-257]). I think this change in

[jira] Assigned: (JCR-285) Line-separator differences cause PredefinedNodeTypeTest to fail on different operating systems.

2006-04-03 Thread Stefan Guggisberg (JIRA)
[ http://issues.apache.org/jira/browse/JCR-285?page=all ] Stefan Guggisberg reassigned JCR-285: - Assign To: Stefan Guggisberg > Line-separator differences cause PredefinedNodeTypeTest to fail on different > operating systems. > -

[jira] Resolved: (JCR-379) Remove the unneeded cqfs dependencies

2006-04-03 Thread Jukka Zitting (JIRA)
[ http://issues.apache.org/jira/browse/JCR-379?page=all ] Jukka Zitting resolved JCR-379: --- Resolution: Fixed Resolved in revision 391024 by replacing the CQFileSystem configuration with LocalFileSystem. I didn't configure the Derby file system or pe

[jira] Resolved: (JCR-285) Line-separator differences cause PredefinedNodeTypeTest to fail on different operating systems.

2006-04-03 Thread Stefan Guggisberg (JIRA)
[ http://issues.apache.org/jira/browse/JCR-285?page=all ] Stefan Guggisberg resolved JCR-285: --- Fix Version: 1.0.1 (was: 1.1) Resolution: Fixed fixed as suggested (svn r391041). thanks for reporting this issue! > Line-se

Re: Login error with null Credentials

2006-04-03 Thread Marcel Reutegger
Paco Avila wrote: I've been tweakin the RepositoryImpl class and changed this lines // null credentials, obtain the identity of the already-authenticated // subject from access control context AccessControlContext acc = AccessController.getContext(); Subject subject = Subject.getSubject(acc);

Re: [VOTE] Release Apache Jackrabbit 1.0

2006-04-03 Thread Jukka Zitting
Hi, On 4/2/06, Jukka Zitting <[EMAIL PROTECTED]> wrote: > Please vote on releasing these packages as Apache Jackrabbit 1.0. Based on Marcel's error report I have fixed and regenerated the jackrabbit-server-1.0.war package. The updated package as well as the modified jackrabbit-jcr-server-1.0-src.

Re: Jackrabbit 1.0 RC3 and references to versions

2006-04-03 Thread Jukka Zitting
Hi, On 4/3/06, Alvaro Gonzalez <[EMAIL PROTECTED]> wrote: > I have discovered where is the problem with my configuration. I have read > in RELEASE-NOTES that a full rebuild of the index is required. But this is > not enough, a element at the end of the repository config file > is needed too (as s

Re: Mixin values.

2006-04-03 Thread hsp
Thanks Marcel by your interest to help me. So, let me see if I got what you said. I have to store in the user nodes a propertie per each node the user has rights to access, for ex: Node user=getnode(userid); user.setProperty(nodeid,"read/write"); Would be nearly this way? So the query will test i

Re: Restore a version of a node property

2006-04-03 Thread David Gillen
Tobias Bocanegra day.com> writes: > > hi oliver, > you can access the content of the version directly in the jcr:versionStorage. > either by searching for your version, or by using the version history: > > node.getVersionHistory().getVersion(xyz).getNode ("jcr:frozenNode").getProperty("yourprop"

RE: query feature extensions

2006-04-03 Thread Daglian, Michael \(IT\)
Hi Marcel, > -Original Message- > From: Marcel Reutegger [mailto:[EMAIL PROTECTED] > Sent: Monday, April 03, 2006 3:13 AM > To: dev@jackrabbit.apache.org > Subject: query feature extensions > > Jackrabbit currently supports a limited set of XPath > features, basically the mandatory feat

Multiple workspaces

2006-04-03 Thread hsp
I want to know if is there possible that , in model 3 of deployment, I can have only one repository that has one workspace per each webapp that is in another web container. Another doubt is if it is possible to make a search that searches in all workspaces the repository has. Many Tks. Helio

Re: [VOTE] Release Apache Jackrabbit 1.0

2006-04-03 Thread Felix Meschberger
Hi, Jukka Zitting schrieb: [X] +1 Release the packages are Apache Jackrabbit 1.0 [ ] -1 Do not release the packages because... Thanks alot for the effort and time you put into this, Jukka. Cheers and Regards Felix