Re: [xsl] (possible) strange behaviour of JD.xslt

Subject: Re: [xsl] (possible) strange behaviour of JD.xslt
From: David_N_Bertoni@xxxxxxxxx
Date: Wed, 7 Nov 2001 15:17:19 -0500
> Does anyone know if the XSLT specification or something say that
<xsl:when>
> must follow <xsl:choose> without whitespaces between them when
> xml:space="preserve" is used, or is this a bug of JD.xslt?

The 1.0 recommendation is not explicit about this, so I don't think you can
call this a bug in JD.xslt.

In Xalan, we decided to strip any whitespace-only text nodes as if you'd
placed an xml:space="default" attribute on the xsl:choose.  It seemed a
reasonable thing to do, rather than require users to add the attribute
themselves.

However, it _is_ something the WG ought to address in an erratum, or in the
2.0 recommendation.

Dave


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread