Re: Initial review of xslt with no limits patch
От | Peter Eisentraut |
---|---|
Тема | Re: Initial review of xslt with no limits patch |
Дата | |
Msg-id | 1281127558.2563.2.camel@vanquo.pezone.net обсуждение исходный текст |
Ответ на | Re: Initial review of xslt with no limits patch (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Initial review of xslt with no limits patch
|
Список | pgsql-hackers |
On fre, 2010-08-06 at 13:01 -0400, Tom Lane wrote: > 2. I'm not sure whether we ought to auto-single-quote the values. > If we don't, how hard is it for users to properly quote nonconstant > parameter values? (Will quote_literal work, or are the quoting rules > different for libxslt?) If we do, are we giving up functionality > someone cares about? Not every parameter is a string. Compare xsltproc: --param PARAMNAME PARAMVALUE Pass a parameter of name PARAMNAME and value PARAMVALUE to the stylesheet. You maypass multiple name/value pairs up to a maximum of 32. If the value being passed is a string, you can use --stringparaminstead, to avoid additional quote characters that appear in string expressions. Note: the XPath expression must be UTF-8 encoded. --stringparam PARAMNAME PARAMVALUE Pass a parameter of name PARAMNAME and value PARAMVALUE where PARAMVALUE isa string rather than a node identifier. Note: The string must be UTF-8 encoded.
В списке pgsql-hackers по дате отправления: