From: Verachten Bruno (Bruno.Verachten@atosorigin.com)
Date: 02/07/2001 - 06:56
this is a bug; we're about to release a maintenance version with this
fixed (and some other stuff). Alternatively, you can use the CVS version
where the bug is fixed already.
Tom
On Tue, 26 Jun 2001 15:39:56 +0200
> Hello I just upgraded from 0.51 to sablotron 0.60 and i've got a problem
> with html empty tags. The following example outputs <BR/> instead of
> <BR> :
>
> <?xml version="1.0" encoding="iso-8859-1"?>
> <xsl:stylesheet
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:output method="html" encoding="UTF-8"
> indent="no" omit-xml-declaration="yes" />
>
> <xsl:template match="/">
> <P>before<br />after</P>
> </xsl:template>
> </xsl:stylesheet>
>
> Now, if i put <html> and </html> around the <P> tag, it work fine. So it
> seems
> the declared output method is ignored, but the implicit one due to the
> <html>
> tag works.
>
> I have a similar problem with a <script language="JavaScript" src="...">
> where a <script/> is generated instead of a <script></script>
>
> All of this was ok with 0.51.
>
> Any idea ?
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:06 UTC
webmaster@xmlfr.org
|