[Mono-dev] Patch: XSLT thread safety

Atsushi Eno atsushi at ximian.com
Thu Jul 17 10:01:27 EDT 2008


msxsl:script cannot be thread safe on transform operations as script
writers could write any thread-unsafe operations. If MSDN says it
is thread safe for transformation, then that is wrong. If it were
correct, it requires whatever no one can achieve.

Atsushi Eno

Joshua Tauberer wrote:
> Okay, so, clearly I'm only writing more because it makes my life easier 
> to have the patch in, and not because I particularly care about API 
> compatibility...
> 
> The MSDN docs for System.Xml.Xsl.XslTransform say "XslTransform objects 
> are only thread-safe for transform operations," which implies they are 
> intended to be thread safe in the manner I suggested. (I didn't mention 
> this initially because the docs for the Transform method don't mention 
> anything about thread safety so I didn't think it was a part of the API. 
> But I thought that it was suspicious because it is an obvious candidate 
> for a thread-safe method, so I checked again.)
> 
> I'm not sure how msxsl:script works or why it would be a problem...?
> 



More information about the Mono-devel-list mailing list