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

Re: Re: Determining whether no single instance of a s

Subject: Re: Re: Determining whether no single instance of a specific node exists
From: John Snelson <john.snelson@xxxxxxxxxx>
Date: Fri, 05 Jun 2009 17:01:07 +0100
Re:  Re: Determining whether no single instance of a  s
Michael Ludwig wrote:
Michael Kay schrieb:
In XSLT 1.0, applying count() to anything other than a node-set is an
error (one of the very few dynamic errors defined in XPath 1.0).

Is a "dynamic error" just another word for "runtime error"?

Mostly - but if the implementation can prove that a dynamic error is always raised during evaluation, it is free to raise it at compile time.


Is a "static error" then the same as a "compile-time error"?

A static error is certainly raised during compilation - but it's not the only type of error that can be.


There's also type errors, which can be raised at compile-time or runtime regardless of whether you can prove they will always be raised during execution.

John

--
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:            http://oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net

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.