Re: [xslt] Why is an invalid stylesheet parameter value not an error?
- From: Stefan Behnel <stefan_ml behnel de>
- To: xslt gnome org
- Subject: Re: [xslt] Why is an invalid stylesheet parameter value not an error?
- Date: Tue, 15 Apr 2008 12:33:42 +0200
Bernhard Zwischenbrugger wrote:
> For me it doesn't look like a bug.
> XSLT for normal does not produce error messages.
What does that mean? Do you mean it should be that way?
What could be wrong in telling the user that he/she made a mistake instead of
hiding the problem that was discovered during XSLT evaluation and that lead to
an incorrect result? At least, I would like lxml to be able to tell the user
what went wrong instead of passing back a broken result without further
comments - even if that's the way libxslt wants to do it.
Would it be a correct assumption, for example, that an error should be raised
if the stylesheet applied without error (NULL) return but the generic error
reporting function was called (at all, with whatever content) during the XSLT
run? I could live with that, I just need to know if that's the right thing to
handle this problem.
Stefan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]