Hi Dick,

That's a bug. The auto-detected encoding was being set on the Document 
instead of the actual encoding. I've checked a fix into SVN.

Thanks.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

Dick Deneer <[EMAIL PROTECTED]> wrote on 02/10/2006 
02:02:32 PM:

> I am using Xerces 2.7.1 and parsing a File to a DomTree using Dom Level 
> 3 APi LSParser
> : document = parser.parseURI(fileName);
> Then I do document.getInputEncoding(). What I expect is to get the 
> actual encoding of the File used by the parser. But I always get 
> "UTF-8", also when in fact the file encoding is ISO-8859-1.
> Is this normal behaviour or should it return the actual File encoding?
> 
> Dick Deneer


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to