[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Michael Ludwig wrote:
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.
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
Re: [xsl] Re: Determining whether no single instance of a specific node exists
Subject: Re: [xsl] 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 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Re: Determining whether n, Michael Kay | Thread | Re: [xsl] Re: Determining whether n, Michael Ludwig |
RE: [xsl] Re: Determining whether n, Michael Kay | Date | Re: [xsl] Re: Determining whether n, Michael Ludwig |
Month |