Re: [xslt] Problem with multi-byte characters in str:padding



On Aug 4, 2013, at 15:52 , Tobias Hoffmann <lprint-list thax hardliners org> wrote:

when using  (e.g.)
<xsl:value-of select="str:padding(@no, '&#160;')"/>
via xsltproc I got unexpected errors:
 xmlXPathTranslateFunction: Invalid UTF8 string

AFAIKT the problem is caused by code in libexslt/strings.c
(from git.gnome.org, see my comments //):

Your analysis is correct. I fixed this in commit 51528395:

https://git.gnome.org/browse/libxslt/commit/?id=515283959aae470a6ee5033deb9f977a489e7578

Nick



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]