Re: [xslt] Why is an invalid stylesheet parameter value not an error?
- From: Vincent Lefevre <vincent+gnome vinc17 org>
- To: xslt gnome org
- Subject: Re: [xslt] Why is an invalid stylesheet parameter value not an error?
- Date: Tue, 15 Apr 2008 12:56:37 +0200
On 2008-04-15 12:33:42 +0200, Stefan Behnel wrote:
> 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?
BTW, xsltproc really reports errors when they can be detected, e.g.
vin:~> xsltproc --param value "ival[" tst.xsl tst.xml
XPath error : Invalid expression
runtime error
Evaluating user parameter value failed
--
Vincent Lefèvre <vincent vinc17 org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]