xpath function for namespace-uri?

2009-12-03 Thread Omid Milani
hi, I'm trying to query (xpath) nodes of a specific namespace uri, but it seems namespace-uri() and namespace-prefix() are not supported. wlidcarding the local name part ( //prefix:* ) doesn't work either. so, how can I do this? also i notices an strange behavior. executing a query like this

Searching for a property

2009-12-03 Thread Dennis van der Laan
Hi, It seems querying on a property is very slow on our system (running Jackrabbit 1.6.0): almost 1 second per query which would normally return 0 or 1 result. We use jcr:content nodes of type nt:unstructured to store the contents of a file (in the jcr:data property) and we store an array of

Re: Searching for a property

2009-12-03 Thread Ard Schrijvers
Hello Dennis, it's because your using 2 times a child axis query (jcr:root and one within the where clause) that makes it slow and. Explaining why is out of scope for the user list, but I wrote quite some time ago a few guidelines (most of them still valid):

Re: Repository setup

2009-12-03 Thread Sébastien Launay
Hi, I am also having this issue. A temporary workaround is to remove the jackrabbit directory found in the working directory where you start your servlet engine (like TOMCAT_HOME or JETTY_HOME). I just filled a bug on JIRA for this problem [1]. [1]

Re: looking for versioning and branching documentation or tests

2009-12-03 Thread Robin Batra
Hi Toby, I am trying to implement the merging thing and since you have mentioned that if a V1.3 and V1.2.1 are merged it would result in V1.4, is it right to assume here that the node.merge() is called on V1.3 and not on 1.2.1. Also am i right in saying that if i try to call a merge() on V1.3 i

Datastore problem

2009-12-03 Thread Sunil Dhage
Hi, I have a problem regarding large binary files, which need to be versioned. Because the nodes which hold the above said binary files, they were getting stored both at workspace and versions. After reading enough documentation, I could understand like i am missing datastore in my

Re: Datastore problem

2009-12-03 Thread Alexander Klimetschek
On Thu, Dec 3, 2009 at 11:53, Sunil Dhage sunil.dh...@coreobjects.com wrote: I have a problem regarding large binary files, which need to be versioned. Because the nodes which hold the above said binary files, they were getting stored both at workspace and versions. After reading enough

Jackrabbit on Equinox (OSGi)

2009-12-03 Thread Samuel Cox
Does anyone have any experience with Jackrabbit and Equinox? I have read the guide at http://cwiki.apache.org/SLING/launching-a-jcr-repository-inside-equinox.html. We currently build OSGi bundles from Jackrabbit 1.5.5 source and deploy them into the Felix OSGi container. All has been going

Re: Jackrabbit on Equinox (OSGi)

2009-12-03 Thread Guo Du
On Thu, Dec 3, 2009 at 3:08 PM, Samuel Cox crankydi...@gmail.com wrote: Does anyone have any experience with Jackrabbit and Equinox? I have no problem to run jackrabbit 2.0-alpha12 on Equinox 3.5.100 -Guo

Re: Jackrabbit on Equinox (OSGi)

2009-12-03 Thread Felix Meschberger
Hi Samuel Have you looked at my current experiments I am doing upgrading the Sling embedded Repository to Jackrabbit 2 in [1]. See also SLING-1212 [2] [1] http://svn.apache.org/repos/asf/sling/whiteboard/fmeschbe/jackrabbit2upgrade [2] https://issues.apache.org/jira/browse/SLING-1212 Regards

Recommended way to take deal with JCR-1984

2009-12-03 Thread Ian Boston
Hi, IIUC [1], post 1.6 blocks an authorizable node from holding any properties, other than those listed in the schema. How do I add and retrieve a well defined set of properties for the node as was possible in JR15 ? We have an application that stores extra group and user metadata on

Re: Recommended way to take deal with JCR-1984

2009-12-03 Thread Angela Schreiber
hi ian JCR-1984 addressed a problem that protected properties defined by the user/group node types were exposed by the #getPropertyNames and #getProperty methods, although they could not be modified by the corresponding set/remove methods. this issue should not affect additional, application

Re: Recommended way to take deal with JCR-1984

2009-12-03 Thread Ian Boston
Angela, Fantastic, I misread the patch forgetting that * might be allowed. Thank you. Ian On 3 Dec 2009, at 17:44, Angela Schreiber wrote: hi ian JCR-1984 addressed a problem that protected properties defined by the user/group node types were exposed by the #getPropertyNames and #getProperty

JCR-SQL2 subtree query

2009-12-03 Thread Weston Bustraan
I have a bit of a dilemma. I'm working with Jackrabbit 2.0b3 and trying to migrate to JCR2.0. However, since the XPATH query syntax is deprecated, I'm investigating how to go about writing queries in JCR-SQL2. Unfortunately, I haven't come up with many examples or tutorials for the new JCR-SQL2

Jackrabbit support (paid or otherwise)

2009-12-03 Thread Samuel Cox
We're creating a decent-sized dependency on a functioning JSR-170 implementation (Jackrabbit). As such, we're curious about the level of support we can get. I'm unaware of anything outside of what is published from the Jackrabbit site (this mailing list). Does anyone else know of anything