Re: EntityResolver2 and FileReader question

2008-07-29 Thread Michael Glavassevich
Yes, that is the problem and I already described the solution. You need to create a new FileReader each time resolveEntity() is called. Don't try to reuse these objects. As you've noticed, that approach doesn't work. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMA

Re: EntityResolver2 and FileReader question

2008-07-28 Thread Michael Glavassevich
Hello Nida, In general InputStream and Reader objects can only be consumed once. You should create and return a new FileReader (or whatever) each time your EntityResolver is called. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTE