[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: (possible) strange behaviour of JD.xslt

Subject: Re: (possible) strange behaviour of JD.xslt
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Wed, 7 Nov 2001 19:00:10 +0000
Re:  (possible) strange behaviour of JD.xslt
Hi Rubén,

> 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 XSLT specification says that the whitespace-only text nodes must
be preserved if you use xml:space="preserve" on one of their ancestors
(with no closer xml:space="default"), and it says that the xsl:choose
element consists of a sequence of xsl:when elements followed by an
optional xsl:otherwise element.

I think you could read it either way, though I think that reading it
as saying that whitespace-only text nodes are allowed between the
elements is the more reasonable interpretation. Perhaps you should
raise it on xsl-editors@xxxxxx for clarification as well as as a
jd.xslt bug to Johannes.

Out of interest, why do you need to have xml:space="preserve" on all
your stylesheets?

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.