Re: Re: Determining whether no single instance of a s
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).
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 Snelson, Oracle Corporation http://snelson.org.uk/john Berkeley DB XML: http://oracle.com/database/berkeley-db/xml XQilla: http://xqilla.sourceforge.net
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