xsl-list
[Top] [All Lists]

Re: [xsl] Re: Determining whether no single instance of a specific node exists

2009-06-05 12:01:52
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>