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 07:25:04
|
Hello Florent, First a couple of notes about file: URIs: 1) There is a design fault in the Eiffel class UT_URI that incorrectly de-canonicalizes file:/// to file://localhost/. The author of this class has agreed (finally!) that it is a bug, and I shall correct it sometime, when i remember (unless he does it first). 2) As far as I can tell from the spec, it is not necessary to escape the colon after the colon for the initial scheme has been seen. Do you know what other URi processors do in this situation on Windows? 3) Spaces should be replaced with %20, not + But I doubt if any of these is the cause of your problem. 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> 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. >From: Florent Georges <dar...@ya...> >Florent Georges wrote: > > Colin, > > > The hidden "/.../" part in the URI above is correct > > (refers to an existing file), but with spaces replaced by > > the character "+". > > I was wrong thinking the error was because the @href. >Sorry. I was able to reproduce the problem, only with a >main XSLT that imports two other XSLT (one with a @use-when >on function-available('saxon:type-annotation')): > > > cat function-available.xsl > <xsl:transform > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="2.0"> > > <xsl:import href="function-available-2.xsl"/> > <xsl:import href="hello-world.xsl"/> > > </xsl:transform> > > > cat function-available-2.xsl > <xsl:transform > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:my="function-available.xsl" > version="2.0"> > > <xsl:function name="my:type-annotation-catch" > xmlns:saxon="http://saxon.sf.net/" > >use-when="function-available('saxon:type-annotation')"> > </xsl:function> > > </xsl:transform> > > > cat hello-world.xsl > <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:hw="http://www.fgeorges.org/hello-world" > version="2.0"> > > <xsl:function name="hw:hello-world" as="xs:string"> > <xsl:sequence select="'Hello, world!'"/> > </xsl:function> > > </xsl:transform> > > > gexslt function-available.xsl function-available.xsl > >gexslt: system execution failed. >Following is the set of recorded exceptions: > >------------------------------------------------------------------------------- >Class / Object Routine Nature of exception > Effect >------------------------------------------------------------------------------- >GEXSLT root's creation Segmentation violation: ><000000000169003C> Operating system signal. > Exit >------------------------------------------------------------------------------- >GEXSLT root's creation ><000000000169003C> Routine failure. > Exit >------------------------------------------------------------------------------- > > Regards, > >--drkm > > > > > > > > > > > > > > > > > > > > > > > > > p5.vert.ukl.yahoo.com uncompressed/chunked Tue Aug 29 12: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 _________________________________________________________________ Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters |