Re: Re: Language-specific output
On 2/4/06, Michael Kay <mike@xxxxxxxxxxxx> 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.
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