You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2009/07/16 14:34:37 UTC

Re: [jira] Resolved: (HTTPCLIENT-861) URI reference resolution fails examples in RFC 3986

On Thu, Jul 16, 2009 at 02:11:39PM +0200, Johannes Koch wrote:
> Oleg,
>
> Oleg Kalnichevski (JIRA) schrieb:
>>      [ https://issues.apache.org/jira/browse/HTTPCLIENT-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>>
>> Oleg Kalnichevski resolved HTTPCLIENT-861.
>> ------------------------------------------
>>
>>     Resolution: Won't Fix
>>
>> Johannes,
>>
>> I get 6 test failures locally. However in all 6 cases HttpClient merely passes the call onto JRE's method URI URI#resolve(URI uri). The URI resolution itself is handled by JRE code. I am afraid there is simply not much we can do about it. This problem should be reported to OpenJDK / Sun / Oracle developers.
>>
>> Alternatively one could consider contributing a new implementation of that method completely independent from JRE code, but I personally think we ought not duplicate URI functionality provided by the platform.
>
> the resolve methods in the URIUtils class were introduced as a  
> work-around for known bugs in the URI.resolve() methods. Some of these  
> bugs were reported to Sun many years ago. And there's not much hope that  
> they will be fixed soon.
>
> I can try to create more work-arounds so that the tests pass.
>

Sure thing. As long as people are willing to contribute code along with accompanying test cases ('scratch their own itch', so to speak) I will be willing to review contributions and commit them to the repository.

Oleg

> -- 
> Johannes Koch
> Fraunhofer Institute for Applied Information Technology FIT
> Web Compliance Center
> Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
> Phone: +49-2241-142628    Fax: +49-2241-142065
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org