[xml] xsltSetTransformErrorFunc doesn't work
- From: "Eric Haszlakiewicz" <EHASZLA transunion com>
- To: <xml gnome org>
- Subject: [xml] xsltSetTransformErrorFunc doesn't work
- Date: Wed, 05 May 2004 17:11:08 -0500
Specifically, it doesn't redirect output from things such as xsl:message
element
within a stylesheet.
Looking briefly at the code, it's fairly obvious why this happens:
xsltMessage(),
which is called when an xsl:message element is encountered, calls
xsltGenericError()
instead of xsltTransformError().
There are various other places that use xsltGenericError(), even though
they have a
xsltTransformContext and could call the transform error function. So,
should all of
these places use xsltTransformError()? I think that they should, so
transform error
function is actually useful.
eric
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]