Re: [Gestalt-users] Bug in namespace-uri-for-prefix() ?
Status: Alpha
Brought to you by:
colin-adams
From: Florent G. <dar...@ya...> - 2006-12-20 02:15:05
|
Colin Adams wrote: > From: Florent Georges > > A few months ago, I installed the following version: > > EiffelStudio 5 (5.7.62804 GPL Edition). I don't know if > > it is interesting to upgrade? Note I only need it for > > Gexslt. > I would feel happier if you upgraded, as there are quite a > lot of bug fixes listed since then. I'd hate to spend time > on a future bug report from you, only to find that it was > actually a compiler bug. Of course. I just installed the 5.7.64493. > > Mmh, I maybe spook too early for namespace-uri-for-prefix(). > > Actually it doesn't seems to be the problem, but > > xsl:namespace does. If you replace xsl:namespace by > > xsl:attribute, all runs fine: > Ah. That seems far more likely, as I only completed the > implementation of it last weekend! I don't know Eiffel, but if I understand correctly, the item type passed to XM_XPATH_ORPHAN.make is not correct. It is taken in XM_XSLT_TEXT_CONSTRUCTOR from item_type.primitive_type, where item_type is set in XM_XSLT_COMPILED_NAMESPACE: item_type: XM_XPATH_ITEM_TYPE is do Result := any_item end I wonder if the primitive_type of any_type is correct here. Doesn't have it to be Namespace_node ? But once again I don't know Eiffel, I just tried to read the sources and figure what happen. Maybe that will help you, maybe not. Regards, --drkm ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com |