This is a recognized bug of the 0.60; it's already fixed in CVS. We are
going to publish either a maintenance release or a patch very soon.

Petr

Raphael Chauvel wrote:

> Hello,
>
> I've installed Sablotron 0.60 this morning (I used to have 0.52 before).
> It seems to me that using <xsl:output method="text"/> does not default
> omit-xml-declaration to "yes" anymore.
> This means that the following example:
>
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:output method="text" omit-xml-declaration="yes"/>
> <xsl:template match="/">
>     <xsl:text><xsl:value-of select="current()" /></xsl:text>
> </xsl:template>
> </xsl:stylesheet>
>
> begins the output with <?xml version="1.0" encoding="UTF-8"?>
>
> Is there something changed either in the specification or in the
> library?
>
> --
>
> Raphael Chauvel
> Project Leader
> Metrix Systems
>
> 15, Traverse des Brucs
> F - 06560 Sophia Antipolis
> Tel:      +33 4 92 38 13 44
> Fax:      +33 4 92 38 13 01
> mailto:[EMAIL PROTECTED]

--
Petr Cimprich
Ginger Alliance
www.gingerall.com


Reply via email to