On 03/10/2011 11:46 PM, Chris Hegarty wrote:
Charles, Alan,
I filed CR 7026346: " URLConnection.guessContentTypeFromStream does
not support UTF-8 and UTF-32 xml streams with BOM", for this issue.
I also creating a webrev from your patch, with the following changes:
* Moved the UTF-32BE befo
On 03/11/2011 07:14 PM, Chris Hegarty wrote:
On 11/03/2011 05:13, Charles Lee wrote:
On 03/10/2011 11:46 PM, Chris Hegarty wrote:
Charles, Alan,
I filed CR 7026346: " URLConnection.guessContentTypeFromStream does
not support UTF-8 and UTF-32 xml streams with BOM", for this issue.
I also creat
On 11/03/2011 05:13, Charles Lee wrote:
On 03/10/2011 11:46 PM, Chris Hegarty wrote:
Charles, Alan,
I filed CR 7026346: " URLConnection.guessContentTypeFromStream does
not support UTF-8 and UTF-32 xml streams with BOM", for this issue.
I also creating a webrev from your patch, with the followi
Chris Hegarty wrote:
Charles, Alan,
I filed CR 7026346: " URLConnection.guessContentTypeFromStream does
not support UTF-8 and UTF-32 xml streams with BOM", for this issue.
I also creating a webrev from your patch, with the following changes:
* Moved the UTF-32BE before the UTF-32LE, as per
Charles, Alan,
I filed CR 7026346: " URLConnection.guessContentTypeFromStream does not
support UTF-8 and UTF-32 xml streams with BOM", for this issue.
I also creating a webrev from your patch, with the following changes:
* Moved the UTF-32BE before the UTF-32LE, as per the comment
* filled
On 03/07/2011 09:56 PM, Chris Hegarty wrote:
I think Alan mentioned it in an earlier mail, this is a legacy API and
not widely used. I can't say I've come across its use more than a
handful of times in more than 10 years.
If you have a small patch that resolves a particular issue then maybe
w
I think Alan mentioned it in an earlier mail, this is a legacy API and
not widely used. I can't say I've come across its use more than a
handful of times in more than 10 years.
If you have a small patch that resolves a particular issue then maybe we
should just proceed with getting it in.
-C
On 03/04/2011 07:13 PM, Alan Bateman wrote:
Charles Lee wrote:
Hi Alan,
Sorry for the late reply. This test case comes from a big test case,
which test more types of stream.
A test for this method should pass if "null" is returned as the method
does not specify the content types that it reco
Charles Lee wrote:
Hi Alan,
Sorry for the late reply. This test case comes from a big test case,
which test more types of stream.
A test for this method should pass if "null" is returned as the method
does not specify the content types that it recognizes. I think it's okay
to extend it as yo
On 03/03/2011 12:48 AM, Alan Bateman wrote:
Charles Lee wrote:
Hi guys,
With test case[1] below, you can see guessContent does not support
UTF8/32 BOM.
I don't see a problem with this proposal but I just wonder if this
method is even used these days. It is a legacy method and I don't
think
Charles Lee wrote:
Hi guys,
With test case[1] below, you can see guessContent does not support
UTF8/32 BOM.
I don't see a problem with this proposal but I just wonder if this
method is even used these days. It is a legacy method and I don't think
anyone can rely on it to reliably detect any
Hi guys,
With test case[1] below, you can see guessContent does not support
UTF8/32 BOM. This problem could be solved with the patch[2].
The patch is straight forward:
1. read more bytes since UTF32
2. add xml type support in utf8 and utf32 BOM.
[1] test case:
public static void main(String[
12 matches
Mail list logo