Re: [xslt] Thread Safety Changes



On Wed, Jan 29, 2003 at 03:44:42PM -0800, Peter Jones wrote:
> Hey, remember back when Daniel Veillard said:
> >   Exactly ! Providing a patch would speed up the process ;-)
> 
> While working on this I have noticed that a few functions, such as
> xsltMessage, are calling xsltGenericError even though they have access
> to a xsltTransformContextPtr.

  Okay, I think this should be fixed except for the xsl:message
handling.

> Does it make sense to change these calls to xsltTransformError?

  yep

> xsltMessage should have access to the Stylesheet via
> xsltTransformContextPtr->style.

  xsltMessage is specific, I don't think the error should go in the
contextual pool. This is really a message intended to go out.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]