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

RE: re: how to get variable value outside scope

Subject: RE: re: how to get variable value outside scope
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 27 Feb 2005 12:24:29 -0000
get variable
> As to why the compiler doesn't complain on this construction:
> 
> <xsl:choose> 
>   <xsl:if test="count(news_post) &lt; 3">
> 
> which the compiler should have thrown out: the only things allowed
> inside
> xsl:choose are xsl:when and xsl:otherwise.

It's helpful in such cases to identify the processor in question. Ideally
you should report the bug to the vendor: any respectable vendor will be
grateful for the information (this kind of error can survive in a product
for years: for example at one time Saxon didn't require xsl:param to come
before other things in a template, and either no-one noticed, or they didn't
report it). 

Failing that, don't hesitate to name the processor on this list. It's useful
for the community as a whole to know that a particular processor has a
particular bug, and it also helps people to help you with your problem.

Michael Kay
http://www.saxonica.com/

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.