You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Sandy Soesilo <sa...@gmail.com> on 2004/09/18 05:58:39 UTC

deprecated methods in servlet example

Hi people,

i'm trying to run the example that I found in FOP release 0.20.5
(stable release,not from cvs)
it works fine under the dos console, but under servlet I found some
methods that are deprecated...

driver.render(input.getParser(), input.getInputSource());
..
with these error code :
- The method getParser() from type
org.apache.fop.apps.XSLTInputHandler is deprecated
- The method getInputParser() from type
org.apache.fop.apps.XSLTInputHandler is deprecated
...
I' running j2sdk1.4.2_05 with eclipse 3.0  and yes, I already include
all the libs .( xalan,avalon,xerces,xml-api ..)

any idea ??? I''ve spent hours reading the docs and the mailing list,
but I found nothing really helpful,... thanks a lot guys

sandy

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: deprecated methods in servlet example

Posted by Glen Mazza <gr...@yahoo.com>.
It's just a deprecation warning, so can be ignored.  I
guess 0.20.5 did not keep the servlet examples up to
date with respect to the then-API.  

You may wish to look at the JAXP examples on our
"embed" page--we recommend that method for embedding
FOP.

Thanks,
Glen

--- Sandy Soesilo <sa...@gmail.com> wrote:

> Hi people,
> 
> i'm trying to run the example that I found in FOP
> release 0.20.5
> (stable release,not from cvs)
> it works fine under the dos console, but under
> servlet I found some
> methods that are deprecated...
> 
> driver.render(input.getParser(),
> input.getInputSource());
> ..
> with these error code :
> - The method getParser() from type
> org.apache.fop.apps.XSLTInputHandler is deprecated
> - The method getInputParser() from type
> org.apache.fop.apps.XSLTInputHandler is deprecated
> ...
> I' running j2sdk1.4.2_05 with eclipse 3.0  and yes,
> I already include
> all the libs .( xalan,avalon,xerces,xml-api ..)
> 
> any idea ??? I''ve spent hours reading the docs and
> the mailing list,
> but I found nothing really helpful,... thanks a lot
> guys
> 
> sandy
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> fop-user-help@xml.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org