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 a

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

RE: Convert InputSource into a Character array

2007-04-06 Thread Sascha Schmidt
PM > To: fop-users@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 th

RE: Convert InputSource into a Character array

2007-04-05 Thread Harshini Madurapperuma
il 05, 2007 9:55 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Convert InputSource into a Character array Hi all, I assume Harshini needs to get the original XML-String from a CharArrayReader (after rendering), which he used to equip the InputSource. IMHO there is no chance to get the XML-S

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 maj

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 Char

RE: Convert InputSource into a Character array

2007-04-04 Thread Sascha Schmidt
o: fop-users@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)" met

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 java.io.BufferedReader.fill(BufferedReader

RE: Convert InputSource into a Character array

2007-04-04 Thread Harshini Madurapperuma
onvert this and access the content of this inputSource? Thanx Harshini -Original Message- From: Jeremias Maerki [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 u

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 sour

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 tri