Re: [Gestalt-users] Gexslt crash with xsl:import: URI format?
Status: Alpha
Brought to you by:
colin-adams
From: Colin A. <col...@ho...> - 2006-08-30 19:38:33
|
I have just looked at routine `arity' (using view CVS repository) and it doesn't seem that the pre-condition is necessary. Can you comment it out, and try again using the debugging-version of gexslt (as this certainly isn't the cause of your problem)? To do that, find xm_xslt_function.e in %GOBO%/library/xml/xslt/style, search for: arity: and then add two hyphens (--) to the begining of the line: attributes_prepared: attributes_prepared so that it looks like: -- attributes_prepared: attributes_prepared Then compile afresh (geant compile_ise_debug - that should take only a few seconds, as it will be an incremental compile), and run the test again, posting the new stack trace here. Your first lesson in Eiffel :-) Note that the keyword "require" on the line above introduces the pre-conditions for the routine. >From: Florent Georges <dar...@ya...> >Reply-To: ges...@li... >To: ges...@li... >Subject: Re: [Gestalt-users] Gexslt crash with xsl:import: URI format? >Date: Wed, 30 Aug 2006 11:47:42 +0200 (CEST) > >Colin Adams wrote: > > > First a couple of notes about file: URIs: > > > [...] > > > But I doubt if any of these is the cause of your problem. > > I do too, since in the minimal example the URIs are: > > <xsl:import href="function-available-2.xsl"/> > <xsl:import href="hello-world.xsl"/> > > I guess these are correctly managed ;-) > > > I shan't be able to attempt debugging until I get home on > > friday. What would be helpful would be if you could do > > the following: > > > 1) cd %GOBO%\src\gexslt > > 2) geant compile_debug_ise > > 3) .\gexslt <your command line arguments> > > It build at the first try :-) > > > This will run much slower, but will produce a complete > > stack trace - I may be able to tell from the stack trace > > alone what the problem is. > > Here is the stacktrace: > >gexslt: system execution failed. >Following is the set of recorded exceptions: > >------------------------------------------------------------------------------- >Class / Object Routine Nature of exception > Effect >------------------------------------------------------------------------------- >XM_XSLT_FUNCTION arity @3 attributes_prepared: ><000000000349B80C> Precondition violated. > Fail >------------------------------------------------------------------------------- >XM_XSLT_FUNCTION validate @11 ><000000000351AEEC> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_FUNCTION validate_subtree @9 ><000000000351AEEC> (From XM_XSLT_STYLE_ELEMENT) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_STYLESHEET preprocess @21 ><00000000033FEF4C> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_STYLESHEET_COMPILER > create_style_sheet_executable @16 ><0000000003332984> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_STYLESHEET_COMPILER > prepare @6 ><0000000003332984> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_TRANSFORMER_FACTORY > create_new_transformer @8 ><0000000003329104> Routine failure. > Fail >------------------------------------------------------------------------------- >GEXSLT process_uris @38 ><000000000331003C> Routine failure. > Fail >------------------------------------------------------------------------------- >GEXSLT execute @42 ><000000000331003C> Routine failure. > Fail >------------------------------------------------------------------------------- >GEXSLT root's creation ><000000000331003C> Routine failure. > Exit >------------------------------------------------------------------------------- > > You said you'll can not look at this before Friday. I'll >be not at home from tomorrow to Tuesday. So I'll not be able >to give you quick feedback if needed (and Tuesday I'll have >to clean my mailbox ;-o). > > Regards, > >--drkm > > > > > > > > > > > > > > > > > > > > > > > > > p2.vert.ukl.yahoo.com uncompressed/chunked Wed Aug 30 07:13:40 GMT 2006 > > >___________________________________________________________________________ >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 > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job >easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Gestalt-users mailing list >Ges...@li... >https://lists.sourceforge.net/lists/listinfo/gestalt-users _________________________________________________________________ Windows Live Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb |