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 Matthew Lancashire <m....@ies.uk.com> on 2003/02/20 13:05:13 UTC

Caching

Is there a way to clear images from the cache when using the
tranformerfactory>driver>pdf solution

Matthew Lancashire
IT Project Manager
Initial Electronic Security Ltd

Tel: +44 1282 473554
Fax: +44 1254 267552


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


FOP error on Mac OS X

Posted by Clay Leeds <cl...@medata.com>.
Sorry for the re-post. I sent the message before I changed the SUBJECT.

#-#-#-#

I get an error when I run FOP under Mac OS X 10.2.4 terminal. I ZIP'd a
test directory (w/ XML file, XSL-FO file and my DTD), to transfer to my
Mac from my PC for testing. When I unZIP on my PC & process with FOP, I
get no errors. However, I get the following terminal output when
processing under my Mac. I should point out, that I use
"xsl:attribute-set" near the top of my XSL-FO file, and set
<xsl:attribute name="font-family">courier new, courier,
monospace</xsl:attribute>. This setting is made as close to the root
level as possible. Nowhere in this XSL-FO document do I change this. I
indicate this, because at one point in the error output below, it returns:

[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
2003-02-24 09:02:19.679 java[1031] Font GB18030Bitmap: in
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-02-24 09:02:19.733 java[1031] Warning: Font
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!

I do not reference any Lucida font anywhere in my document.

System Info:
Mac OS X 10.2.4 (latest Mac OS X release)
Java full version "1.4.1-24" (latest JDK from Apple)

Mac OS X Terminal output:

[Clays-TiBook:Shared/_WebDLs/test_MEDATA_xml_1.1 Folder] clay% fop -d
-xml test_MIWC_1.1.xml -xsl xml_med7_MIWC.fo -awt
[DEBUG] Input mode:
[DEBUG] xslt transformation
[DEBUG] xml input file: test_MIWC_1.1.xml
[DEBUG] xslt stylesheet: xml_med7_MIWC.fo
[DEBUG] Output mode:
[DEBUG] awt on screen
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory: file:/Users/Shared/_WebDLs/test_MEDATA_xml_1.1
Folder/
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
2003-02-24 09:02:19.679 java[1031] Font GB18030Bitmap: in
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-02-24 09:02:19.733 java[1031] Warning: Font
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
[ERROR] no protocol: xml_med7_dtd_1.1.dtd
org.apache.fop.apps.FOPException: no protocol: xml_med7_dtd_1.1.dtd
         at org.apache.fop.apps.Driver.render(Driver.java:466)
         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:117)
         at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

java.net.MalformedURLException: no protocol: xml_med7_dtd_1.1.dtd
         at java.net.URL.<init>(URL.java:579)
         at java.net.URL.<init>(URL.java:476)
         at java.net.URL.<init>(URL.java:425)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
  Source)
         at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unk
nown Source)
         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
         at
org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:457)
         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:117)
         at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

java.net.MalformedURLException: no protocol: xml_med7_dtd_1.1.dtd
         at java.net.URL.<init>(URL.java:579)
         at java.net.URL.<init>(URL.java:476)
         at java.net.URL.<init>(URL.java:425)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
  Source)
         at
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unk
nown Source)
         at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
         at
org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:457)
         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:117)
         at org.apache.fop.apps.Fop.main(Fop.java:19)
[Clays-TiBook:Shared/_WebDLs/test_MEDATA_xml_1.1 Folder] clay%

#-#-#-#-#

WinXP Terminal Output:
C:\Program Files\Java\fop-0.20.4>fop -d -xml
C:\_Web_DLs\test_MEDATA_xml_1.1\test_MIWC_1.1.xml -xsl
C:\_Web_DLs\test_MEDATA_xml_1.1\xml_med7_MIWC.fo -awt

C:\Program Files\Java\fop-0.20.4>java -cp
build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020315.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar 

org.apache.fop.apps.Fop -d -xml
C:\_Web_DLs\test_MEDATA_xml_1.1\test_MIWC_1.1.xml -xsl
C:\_Web_DLs\test_MEDATA_xml_1.1\xml_med7_MIWC.fo -awt
[DEBUG] Input mode:
[DEBUG] xslt transformation
[DEBUG] xml input file: C:\_Web_DLs\test_MEDATA_xml_1.1\test_MIWC_1.1.xml
[DEBUG] xslt stylesheet: C:\_Web_DLs\test_MEDATA_xml_1.1\xml_med7_MIWC.fo
[DEBUG] Output mode:
[DEBUG] awt on screen
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[DEBUG] base directory: file:/C:/_Web_DLs/test_MEDATA_xml_1.1/
[ERROR] Logger not set
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[DEBUG] setting up fonts
[INFO] [1]
[INFO] [2]
[INFO] [3]
[INFO] Parsing of document complete, stopping renderer

C:\Program Files\Java\fop-0.20.4>

#-#-#-#

Thanks in advance!
-- 
Clay Leeds - cleeds@medata.com
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


---------------------------------------------------------------------
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


Re: Caching

Posted by Clay Leeds <cl...@medata.com>.
I get an error when I run FOP under Mac OS X 10.2.4 terminal. I ZIP'd a 
test directory (w/ XML file, XSL-FO file and my DTD), to transfer to my 
Mac from my PC for testing. When I unZIP on my PC & process with FOP, I 
get no errors. However, I get the following terminal output when 
processing under my Mac. I should point out, that I use 
"xsl:attribute-set" near the top of my XSL-FO file, and set 
<xsl:attribute name="font-family">courier new, courier, 
monospace</xsl:attribute>. This setting is made as close to the root 
level as possible. Nowhere in this XSL-FO document do I change this. I 
indicate this, because at one point in the error output below, it returns:

[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
2003-02-24 09:02:19.679 java[1031] Font GB18030Bitmap: in 
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-02-24 09:02:19.733 java[1031] Warning: Font 
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!

I do not reference any Lucida font anywhere in my document.

System Info:
Mac OS X 10.2.4 (latest Mac OS X release)
Java full version "1.4.1-24" (latest JDK from Apple)

Mac OS X Terminal output:

[Clays-TiBook:Shared/_WebDLs/test_MEDATA_xml_1.1 Folder] clay% fop -d 
-xml test_MIWC_1.1.xml -xsl xml_med7_MIWC.fo -awt
[DEBUG] Input mode:
[DEBUG] xslt transformation
[DEBUG] xml input file: test_MIWC_1.1.xml
[DEBUG] xslt stylesheet: xml_med7_MIWC.fo
[DEBUG] Output mode:
[DEBUG] awt on screen
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory: file:/Users/Shared/_WebDLs/test_MEDATA_xml_1.1 
Folder/
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
2003-02-24 09:02:19.679 java[1031] Font GB18030Bitmap: in 
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-02-24 09:02:19.733 java[1031] Warning: Font 
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
[ERROR] no protocol: xml_med7_dtd_1.1.dtd
org.apache.fop.apps.FOPException: no protocol: xml_med7_dtd_1.1.dtd
         at org.apache.fop.apps.Driver.render(Driver.java:466)
         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:117)
         at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

java.net.MalformedURLException: no protocol: xml_med7_dtd_1.1.dtd
         at java.net.URL.<init>(URL.java:579)
         at java.net.URL.<init>(URL.java:476)
         at java.net.URL.<init>(URL.java:425)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown 
  Source)
         at 
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at 
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unk 
nown Source)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno 
wn Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown 
Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown 
Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
         at 
org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:457)
         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:117)
         at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

java.net.MalformedURLException: no protocol: xml_med7_dtd_1.1.dtd
         at java.net.URL.<init>(URL.java:579)
         at java.net.URL.<init>(URL.java:476)
         at java.net.URL.<init>(URL.java:425)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown 
  Source)
         at 
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at 
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unk 
nown Source)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno 
wn Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown 
Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown 
Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
         at 
org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:457)
         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:117)
         at org.apache.fop.apps.Fop.main(Fop.java:19)
[Clays-TiBook:Shared/_WebDLs/test_MEDATA_xml_1.1 Folder] clay%

#-#-#-#-#

WinXP Terminal Output:
C:\Program Files\Java\fop-0.20.4>fop -d -xml 
C:\_Web_DLs\test_MEDATA_xml_1.1\test_MIWC_1.1.xml -xsl 
C:\_Web_DLs\test_MEDATA_xml_1.1\xml_med7_MIWC.fo -awt

C:\Program Files\Java\fop-0.20.4>java -cp 
build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020315.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar 
org.apache.fop.apps.Fop -d -xml 
C:\_Web_DLs\test_MEDATA_xml_1.1\test_MIWC_1.1.xml -xsl 
C:\_Web_DLs\test_MEDATA_xml_1.1\xml_med7_MIWC.fo -awt
[DEBUG] Input mode:
[DEBUG] xslt transformation
[DEBUG] xml input file: C:\_Web_DLs\test_MEDATA_xml_1.1\test_MIWC_1.1.xml
[DEBUG] xslt stylesheet: C:\_Web_DLs\test_MEDATA_xml_1.1\xml_med7_MIWC.fo
[DEBUG] Output mode:
[DEBUG] awt on screen
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[DEBUG] base directory: file:/C:/_Web_DLs/test_MEDATA_xml_1.1/
[ERROR] Logger not set
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[DEBUG] setting up fonts
[INFO] [1]
[INFO] [2]
[INFO] [3]
[INFO] Parsing of document complete, stopping renderer

C:\Program Files\Java\fop-0.20.4>

#-#-#-#

Thanks in advance!
-- 
Clay Leeds - cleeds@medata.com
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


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


RE: Caching

Posted by Matthew Lancashire <m....@ies.uk.com>.
It didn't seem to work. Everything ran fine but still same background
images.

Thanks for the help tho.

-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 24 Feb 2003 15:47
To: fop-user@xml.apache.org
Subject: Re: Caching


If resetCache() doesn't work, there's no way other than to restart the
JVM. There's no such thing as a standard java cache manipulation class.

On 24.02.2003 16:44:41 Matthew Lancashire wrote:
> Thanks for the tip.
>
> If I don't get it to clear the cache is there a standard java cache
> manipulation class?


Jeremias Maerki


---------------------------------------------------------------------
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


Re: Caching

Posted by Jeremias Maerki <de...@greenmail.ch>.
If resetCache() doesn't work, there's no way other than to restart the
JVM. There's no such thing as a standard java cache manipulation class.

On 24.02.2003 16:44:41 Matthew Lancashire wrote:
> Thanks for the tip.
> 
> If I don't get it to clear the cache is there a standard java cache
> manipulation class?


Jeremias Maerki


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


RE: Caching

Posted by Matthew Lancashire <m....@ies.uk.com>.
Thanks for the tip.

If I don't get it to clear the cache is there a standard java cache
manipulation class?

-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 24 Feb 2003 15:18
To: fop-user@xml.apache.org
Subject: Re: Caching


IMO the following should work, though I haven't tested it:

org.apache.fop.image.FopImageFactory.resetCache();
Driver driver = new Driver();
[...more of your code]

There is no need to instantiate FopImageFactory. Static methods can be
called without instantiating an object.

On 24.02.2003 16:01:36 Matthew Lancashire wrote:
> I tried FopImagefactory fopFac = new FopImageFactory();
>
> Is that right? If so the resetCache method didn't do the trick.



Jeremias Maerki


---------------------------------------------------------------------
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


Re: Caching

Posted by Jeremias Maerki <de...@greenmail.ch>.
IMO the following should work, though I haven't tested it:

org.apache.fop.image.FopImageFactory.resetCache();
Driver driver = new Driver();
[...more of your code]

There is no need to instantiate FopImageFactory. Static methods can be
called without instantiating an object.

On 24.02.2003 16:01:36 Matthew Lancashire wrote:
> I tried FopImagefactory fopFac = new FopImageFactory();
> 
> Is that right? If so the resetCache method didn't do the trick.



Jeremias Maerki


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


RE: Caching

Posted by Matthew Lancashire <m....@ies.uk.com>.
Sorry for being dumb but I am a complete Java novice and am relying on my
skills as a plagiarist to get by.
Can you explain it to me?

-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 24 Feb 2003 14:44
To: fop-user@xml.apache.org
Subject: Re: Caching


Have another look at it. It's a static method!

On 24.02.2003 15:32:34 Matthew Lancashire wrote:
> I don't explicitly create an imagefactory.
> what would be the syntax for doing that?
>
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
> Sent: 20 Feb 2003 20:24
> To: fop-user@xml.apache.org
> Subject: Re: Caching
>
>
> Try calling org.apache.fop.image.FopImageFactory.resetCache().
>
> On 20.02.2003 13:05:13 Matthew Lancashire wrote:
> > Is there a way to clear images from the cache when using the
> > tranformerfactory>driver>pdf solution

Jeremias Maerki


---------------------------------------------------------------------
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


RE: Caching

Posted by Matthew Lancashire <m....@ies.uk.com>.
I tried FopImagefactory fopFac = new FopImageFactory();

Is that right? If so the resetCache method didn't do the trick.

Thanks tho :)

-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 24 Feb 2003 14:44
To: fop-user@xml.apache.org
Subject: Re: Caching


Have another look at it. It's a static method!

On 24.02.2003 15:32:34 Matthew Lancashire wrote:
> I don't explicitly create an imagefactory.
> what would be the syntax for doing that?
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
> Sent: 20 Feb 2003 20:24
> To: fop-user@xml.apache.org
> Subject: Re: Caching
> 
> 
> Try calling org.apache.fop.image.FopImageFactory.resetCache().
> 
> On 20.02.2003 13:05:13 Matthew Lancashire wrote:
> > Is there a way to clear images from the cache when using the
> > tranformerfactory>driver>pdf solution

Jeremias Maerki


---------------------------------------------------------------------
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


Re: Caching

Posted by Jeremias Maerki <de...@greenmail.ch>.
Have another look at it. It's a static method!

On 24.02.2003 15:32:34 Matthew Lancashire wrote:
> I don't explicitly create an imagefactory.
> what would be the syntax for doing that?
> 
> -----Original Message-----
> From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
> Sent: 20 Feb 2003 20:24
> To: fop-user@xml.apache.org
> Subject: Re: Caching
> 
> 
> Try calling org.apache.fop.image.FopImageFactory.resetCache().
> 
> On 20.02.2003 13:05:13 Matthew Lancashire wrote:
> > Is there a way to clear images from the cache when using the
> > tranformerfactory>driver>pdf solution

Jeremias Maerki


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


RE: Caching

Posted by Matthew Lancashire <m....@ies.uk.com>.
I don't explicitly create an imagefactory.
what would be the syntax for doing that?

-----Original Message-----
From: Jeremias Maerki [mailto:dev.jeremias@greenmail.ch]
Sent: 20 Feb 2003 20:24
To: fop-user@xml.apache.org
Subject: Re: Caching


Try calling org.apache.fop.image.FopImageFactory.resetCache().

On 20.02.2003 13:05:13 Matthew Lancashire wrote:
> Is there a way to clear images from the cache when using the
> tranformerfactory>driver>pdf solution


Jeremias Maerki


---------------------------------------------------------------------
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


Re: Caching

Posted by Jeremias Maerki <de...@greenmail.ch>.
Try calling org.apache.fop.image.FopImageFactory.resetCache().

On 20.02.2003 13:05:13 Matthew Lancashire wrote:
> Is there a way to clear images from the cache when using the
> tranformerfactory>driver>pdf solution


Jeremias Maerki


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