|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








