This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (possible) strange behaviour of JD.xslt



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]