Re: [Gestalt-users] [ gestalt-Bugs-1563054 ]gexslt:transformation()and namespace
Status: Alpha
Brought to you by:
colin-adams
From: Florent G. <dar...@ya...> - 2006-09-26 11:08:45
|
Colin Adams wrote: Hi > For clarity, then, let us talk only about stylesheet > functions. These are NOT available at use-when processing > time. Yes. > But they ARE available at run time. So > function-available, within a use-when attribute, should > return true (this is what you want to know - will the > function be available at runtime?). But the spec says > explicitly that function-available should return false. > this is what is wrong with the spec, in my opinion. But I think it is a feature, not a bug. Or say a design choice: it is not possible to test the availability of a stylesheet function. I guess it is to simplify implementations, to give them a possibility of optimization. Because at the compile time, when the processor treat the @use-when, it has not already seen all stylesheet functions. So it'd have to perform a second pass to compile or not the branches depending on function-available(). But I said I guess; you know that better than me. Maybe I could post the question on XSL List? Regards, --drkm ___________________________________________________________________________ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com |