Re: [xslt] Why is an invalid stylesheet parameter value not an error?

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: <>
100% accessible validated (X)HTML - 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]