Re: Convert InputSource into a Character array

2007-04-07 Thread Andreas L Delmelle
On Apr 6, 2007, at 14:26, Harshini Madurapperuma wrote: Hi, This is my class overview; for u to get a rough idea. Initially I have a char array which I have converted into InputSource. Then within the Driver class in render method I want that InputSource to be converted back into a char

RE: Convert InputSource into a Character array

2007-04-06 Thread Sascha Schmidt
@xmlgraphics.apache.org Subject: RE: Convert InputSource into a Character array Hi all, and Sascha Sascha thanx a lot for ur ideas; but I'm not clear what u have meant by String xml in the MyInputSource constructor. And from where should I call this constructor? Harshini -Original Message- From

RE: Convert InputSource into a Character array

2007-04-06 Thread Harshini Madurapperuma
@xmlgraphics.apache.org Subject: RE: Convert InputSource into a Character array Hi Harshini, I though you were using a large XML String (/Character-Array) with a CharArrayReader to setup your InputSource. Maybe I was wrong? How do you create your input source? It seems that someone uses and closes the InputSource

Re: Convert InputSource into a Character array

2007-04-04 Thread Jeremias Maerki
I don't understand what you're trying to do. Maybe you should explain that before going into technical details. On 04.04.2007 06:08:53 Harshini Madurapperuma wrote: Hi All; In fop Driver class there is a method called public synchronized void render(XMLReader parser, InputSource source)

RE: Convert InputSource into a Character array

2007-04-04 Thread Harshini Madurapperuma
[mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 12:11 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Convert InputSource into a Character array I don't understand what you're trying to do. Maybe you should explain that before going into technical details. On 04.04.2007 06:08:53

Re: Convert InputSource into a Character array

2007-04-04 Thread Daniel Noll
Harshini Madurapperuma wrote: While doing that it raise this Exception: java.io.IOException: Stream closed at java.io.CharArrayReader.ensureOpen(CharArrayReader.java:65) at java.io.CharArrayReader.read(CharArrayReader.java:95) at

RE: Convert InputSource into a Character array

2007-04-04 Thread Sascha Schmidt
@xmlgraphics.apache.org Subject: RE: Convert InputSource into a Character array Hi; I have this character array, I converted that character array into to a InputSource and passed it as a parameter to a render(XMLReader parser, InputSource source) method in the DRIVER class in fop. Within that render class

RE: Convert InputSource into a Character array

2007-04-04 Thread Harshini Madurapperuma
Hi ; Currently I'm using fop 20.5 version? Does it because of the version problem? /Harshini -Original Message- From: Daniel Noll [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 9:47 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Convert InputSource into a Character

Re: Convert InputSource into a Character array

2007-04-04 Thread Daniel Noll
Harshini Madurapperuma wrote: Hi ; Currently I'm using fop 20.5 version? Does it because of the version problem? No way to know, but if it really were a bug it would be silly to track it down on an ancient version if it's already fixed in the current stable release. Plus, I imagine the

Convert InputSource into a Character array

2007-04-03 Thread Harshini Madurapperuma
Hi All; In fop Driver class there is a method called public synchronized void render(XMLReader parser, InputSource source) throws FOPException { } Is there a way to convert that InputSource source back into a character array within that render class? I