Re: Node.getNode and Session.getNode specification

2011-06-07 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, thanks angela and alexander for the explanation. i see the use of relative paths. i think my question is answered by alexanders statement: > (Jackrabbit), but I think it is good to make application code be aware of > absolute/relative path errors

Re: Node.getNode and Session.getNode specification

2011-06-07 Thread Alexander Klimetschek
On 07.06.11 14:44, "David Buchmann" wrote: >while implementing the jcr interfaces in php [1] we are a bit confused >about access by relative path [2]. > >what is a valid relative path? if it would be just names without any >"/", it would be straightforward. but at least jackrabbit can handle >../s

Re: Node.getNode and Session.getNode specification

2011-06-07 Thread Angela Schreiber
hi david did you read section "3.4.4 Absolute and Relative Paths" in the jsr 283 specification? from my point of view this section quite nicely puts the differences between absolute and relative paths. as a rule of thumb i think it's fair to say that relative paths are used to access an item fro

Node.getNode and Session.getNode specification

2011-06-07 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, while implementing the jcr interfaces in php [1] we are a bit confused about access by relative path [2]. what is a valid relative path? if it would be just names without any "/", it would be straightforward. but at least jackrabbit can handle ..