xsl-list
[Top] [All Lists]

Re: Re: Language-specific output

2006-02-03 19:41:58
On 2/4/06, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:


I am really liking the validation-in-the-background feature of the
new oXygen. In particular, I'm liking the way syntactically malformed
XPath expressions (or pseudo-XPath since they're malformed) just
"light up" on their own, rather than just lurking till runtime before
I discover I have one too few closing parentheses.

Perhaps a clearer distinction is needed between what compiler folks call
syntactic and semantic errors: in particular, referring to
functions/variables/templates/types that don't exist (yet) is classified as
a semantic error. Since in XSLT all of these can be forwards references
anyway, it's not just references to things declared in other modules that
are relevant, but forwards references to things in the same module.


As for other missing things in the language:

     <pragma:external name="varName" as="type"/>

or
    <xsl:variable ...   pragma:external="yes"/>

Where pragma may be associated to:

     "http://saxon.sf.net/";

or

     "http://exslt.org/modular-stylesheets";


--
Cheers,
Dimitre Novatchev
---------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all.

--~------------------------------------------------------------------
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>