ISO9075

2009-09-11 Thread John Crawford
Saw an issue with this the other day and wanted to pass it along to see if it was a bug or intended functionality. So, to encode elements in a path that begin with a number I used the encode functionality in ISO9075. At one point, I accidentally "over fixed" the path by calling the enc

Re: ISO9075

2009-09-11 Thread Felix Meschberger
Hi, John Crawford schrieb: > Saw an issue with this the other day and wanted to pass it along to see if > it was a bug or intended functionality. > So, to encode elements in a path that begin with a number I used the encode > functionality in ISO9075. At one point, I accidentally

Re: ISO9075

2009-09-11 Thread Julian Reschke
Felix Meschberger wrote: ... In what respect do you think this path is invalid ? If you encode an input, it has to encode the input. There is no way the method can tell, whether the second encoding is due to a programming error or is requested by intent. So the result of encoding agains sounds r

Re: ISO9075

2009-09-11 Thread John Crawford
bug or intended functionality. > > So, to encode elements in a path that begin with a number I used the > encode > > functionality in ISO9075. At one point, I accidentally "over fixed" the > > path by calling the encode method too many times on the path. It > actuall

Re: ISO9075

2009-09-11 Thread Julian Reschke
John Crawford wrote: Well, the second path doesn't return results, so perhaps the issue is in the JCR Query/QueryManager? It appears that its encoding the "_", which is apparently a valid value to query against. So I really don't understand why it would encode that character. Either way, I'll j

launchpad/app tests fail due to jcr/resource ISO9075 changes (was: svn commit: r813068...)

2009-09-10 Thread Bertrand Delacretaz
Hi, On Wed, Sep 9, 2009 at 8:30 PM, wrote: > Author: fmeschbe > ... > New Revision: 813068 > ... > SLING-1077 Include Jackrabbit ISO9075 class used by the JcrPropertyMap in the > bundle... This causes launchpad/app (and the Hudson sling-trunk-

Re: launchpad/app tests fail due to jcr/resource ISO9075 changes (was: svn commit: r813068...)

2009-09-10 Thread Felix Meschberger
Hi, Oops, sorry, this was in my local workspace but I forgot to check in. Done now in Rev. 813437 Regards Felix Bertrand Delacretaz schrieb: > Hi, > > On Wed, Sep 9, 2009 at 8:30 PM, wrote: >> Author: fmeschbe >> ... >> New Revision: 813068 >> ... >>