What Saxon are you talking about?
The Saxon project (http://saxon.sourceforge.net/)?
The Oracle sax
(http://download.oracle.com/javase/6/docs/api/javax/xml/transform/sax/SA
XTransformerFactory.html)?
Would a Transformer work any better if it's created from the sax factory
rather than the TransformerFactory?

Transformer = javax.xml.transform.TransformerFactory.newTransformer()

Vs

Transformer =
javax.xml.transform.sax.SAXTransformerFactory.newTransformerHandler().ge
tTransformer()

Somehow they both arrive at javax.xml.transform.Transformer. 

-----Original Message-----
From: Andreas L. Delmelle [mailto:andreas.delme...@telenet.be] 
Sent: Tuesday, March 29, 2011 5:11 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Thread safe?

On 29 Mar 2011, at 22:55, Eric Douglas wrote:

> I have yet to see any threading problems with the FOP objects.  

Well, there probably are /some/, but in general, care has been taken to
make sure that each rendering-run is isolated, and the process itself is
currently completely single-threaded (which does leave room for
optimization on the one hand, extra debugging headaches on the other
;-)). 
Those parts that are meant to be shared among threads are usually
properly synchronized, although glitches do pop up from time to time.
Mostly in the Java2D/AWT area. Understandable, since the API docs do not
mention anything about classes not being thread-safe, and often it
concerns the real 'innards' of the JVM, and you'll find some sun.com
classes in the stack trace, references to native methods, etc. Nothing
we could have foreseen...

> My error seems to be just on Oracle's Transformer.

Ahaaa!!! Them again! :-)
So, you're saying it doesn't happen with, say, Saxon?


Regards,

Andreas
---
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to