jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Buchmann <david.buchm...@liip.ch>
Subject Node.getNode and Session.getNode specification
Date Tue, 07 Jun 2011 12:44:13 GMT
-----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
../somethingelse or child/propertyname as path.

however, /somethingelse triggers an invalidargumentexception that no
absolute path is allowed. what is the reason for that? it is not harder
to resolve than a path like ../somethingelse

can somebody explain why its like this? at the moment, it seems like
being overly picky without a technical reason to be strict.

cheers,david


[1] http://jackalope.github.com
[2]
http://www.day.com/specs/jcr/2.0/5_Reading.html#5.1.6%20Access%20by%20Relative%20Path

- -- 
Liip AG // Agile Web Development // T +41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3uHRoACgkQqBnXnqWBgIsavQCguWYFolZxBZu0e3U8KpfWPjSI
XtIAn0IQgMjV6gGJ63s30nbz1PntckTv
=pVfa
-----END PGP SIGNATURE-----

Mime
View raw message