[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-dev
Subject:    Re: svn commit: r433728 - in /db/torque:
From:       Thomas Fischer <tfischer () apache ! org>
Date:       2006-08-24 20:25:54
Message-ID: 20060824132422.K24608 () minotaur ! apache ! org
[Download RAW message or body]

On Thu, 24 Aug 2006, Thomas Vandahl wrote:

> tfischer@apache.org wrote:
>> -                InputSource is = new InputSource(br);
>> +                InputSource is = new InputSource(bufferedInputStream);
>
> One questions about this, out  of curiosity: I read from the API docs that 
> the application *should* provide an encoding, if the InputSource is built 
> from a byte stream. I couldn't find something about using the encoding in the 
> file header. Where is that documented?

http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/InputSource.html

I agree that in the 1.4 javadoc, the description is less clear, although I 
doubt that the procedure has changed.

    Thomas

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic