Re: [xslt] <xsl:message and % signs
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] <xsl:message and % signs
- Date: Mon, 22 Oct 2001 08:39:51 -0400
On Mon, Oct 22, 2001 at 01:31:31PM +0100, Sebastian Rahtz wrote:
> the result of
>
> <xsl:template match="/">
> <xsl:message>%a.hello, %x.hello</xsl:message>
> </xsl:template>
>
> is
>
> 0x1.24e0abffff87cp+1.hello, 8214bf0.hello
>
> which I would hazard a guess is not right :-}
<grin/> right !
----------------------
*** libxslt/xsltutils.c 2001/09/18 09:56:57 1.50
--- libxslt/xsltutils.c 2001/10/22 12:38:45
***************
*** 165,171 ****
if (message != NULL) {
int len = xmlStrlen(message);
! xsltGenericError(xsltGenericErrorContext, (const char *)message);
if ((len > 0) && (message[len - 1] != '\n'))
xsltGenericError(xsltGenericErrorContext, "\n");
xmlFree(message);
--- 165,172 ----
if (message != NULL) {
int len = xmlStrlen(message);
! xsltGenericError(xsltGenericErrorContext, "%s",
! (const char *)message);
if ((len > 0) && (message[len - 1] != '\n'))
xsltGenericError(xsltGenericErrorContext, "\n");
xmlFree(message);
----------------------
To be commited soon in CVS,
thanks,
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard@redhat.com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]