It works now! It was an intermitent failure so it was hard to track.
On 1/11/07, Jose Cornado <[EMAIL PROTECTED]> wrote:
Before hand, I ask your forgiveness if this issue has been raised before
:-]
But I have been chasin my tail for a while.
This is the hex dump of prolog:
3c 3f 78 6d 6c 20
I have even tried the following
new OutputStreamWriter(new FileOutputStream(File), "UTF-16");
...
InputSourceTempIS= new InputSource(File.toURI().toString());
TempIS.setEncoding("UTF-16");
AParser.parse(TempIS, Handler);
And changed the prolog to reflect UTF-16. The hex editor correctly
I'm not sure if Parser.parse uses inputstreams or readers. Try creating a
reader using UTF-8 and use that version of the parse method and see if it makes
a difference
*** Sent via BlackBerry
-Original Message-
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: j-users@xerces.apache.