Re: Reference with baseref and absolute path

2008-03-21 Thread Jeroen Goubert
Jerome, So this leaves me wondering: Should getTargetRef() clear the baseref or do we have to rely on the verbose new Reference(getTargetRef().toString()) to do this ourselves ? It think we should fix the code as suggested by the Javadocs, unless I'm missing some other aspect. If all

RE: Reference with baseref and absolute path

2008-03-20 Thread Jerome Louvel
Hi Jeroen, [...] I was expecting that calling getTargetRef() on a reference with an absolute path would clear the baseref. This is also how I understand it from the javadoc: This relative URI reference can then be resolved against a base reference via the getTargetRef() method which

Reference with baseref and absolute path

2008-03-19 Thread Jeroen Goubert
Hello, I'm using context.getClientDispatcher().get(reference) method for my source resolving needs. The reference itself is constructed by new Reference(baseref, path-that-could-be-absolute).getTargetRef(). When resolving relative paths, all is well, but when resolving absolute paths I have