Re: [IO] BOMInputStream bug?

2012-08-11 Thread sebb
On 10 August 2012 18:44, Gary Gregory garydgreg...@gmail.com wrote: Hi All: Does anyone have expertise with BOMInputStream? I know that some XML parsers (like the one shipped with the Oracle JRE) do not detect UTF-32 BOMs (UTF-8 and UTF-16 BOMs are OK) but using BOMInputStream is supposed

Re: [IO] BOMInputStream bug?

2012-08-11 Thread Gary Gregory
The bottom line in all of this is that no Xerces version seem to handle UTF-32 even though I see a UCSReader class in there. Gary On Aug 11, 2012, at 7:40, sebb seb...@gmail.com wrote: On 10 August 2012 18:44, Gary Gregory garydgreg...@gmail.com wrote: Hi All: Does anyone have expertise

[IO] BOMInputStream bug?

2012-08-10 Thread Gary Gregory
Hi All: Does anyone have expertise with BOMInputStream? I know that some XML parsers (like the one shipped with the Oracle JRE) do not detect UTF-32 BOMs (UTF-8 and UTF-16 BOMs are OK) but using BOMInputStream is supposed to fix the issue. These tests I added and @Ignore'd fail: -

Re: [IO] BOMInputStream bug?

2012-08-10 Thread Niall Pemberton
On Fri, Aug 10, 2012 at 6:44 PM, Gary Gregory garydgreg...@gmail.com wrote: Hi All: Does anyone have expertise with BOMInputStream? I know that some XML parsers (like the one shipped with the Oracle JRE) do not detect UTF-32 BOMs (UTF-8 and UTF-16 BOMs are OK) but using BOMInputStream is

Re: [IO] BOMInputStream bug?

2012-08-10 Thread Gary Gregory
On Fri, Aug 10, 2012 at 4:27 PM, Niall Pemberton niall.pember...@gmail.comwrote: On Fri, Aug 10, 2012 at 6:44 PM, Gary Gregory garydgreg...@gmail.com wrote: Hi All: Does anyone have expertise with BOMInputStream? I know that some XML parsers (like the one shipped with the Oracle JRE)

Re: [IO] BOMInputStream bug?

2012-08-10 Thread Gary Gregory
On Fri, Aug 10, 2012 at 4:27 PM, Niall Pemberton niall.pember...@gmail.comwrote: On Fri, Aug 10, 2012 at 6:44 PM, Gary Gregory garydgreg...@gmail.com wrote: Hi All: Does anyone have expertise with BOMInputStream? I know that some XML parsers (like the one shipped with the Oracle JRE)

Re: [IO] BOMInputStream bug?

2012-08-10 Thread Niall Pemberton
On Fri, Aug 10, 2012 at 11:58 PM, Gary Gregory garydgreg...@gmail.com wrote: On Fri, Aug 10, 2012 at 4:27 PM, Niall Pemberton niall.pember...@gmail.comwrote: On Fri, Aug 10, 2012 at 6:44 PM, Gary Gregory garydgreg...@gmail.com wrote: Hi All: Does anyone have expertise with