gestalt-users Mailing List for Gestalt XSLT 2.0 processor (Page 4)
Status: Alpha
Brought to you by:
colin-adams
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(16) |
Aug
(16) |
Sep
(58) |
Oct
(2) |
Nov
|
Dec
(15) |
2007 |
Jan
(3) |
Feb
(2) |
Mar
|
Apr
|
May
(8) |
Jun
|
Jul
|
Aug
(1) |
Sep
(6) |
Oct
(1) |
Nov
(2) |
Dec
|
2008 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: Colin A. <col...@ho...> - 2006-09-21 17:41:15
|
Your welcome to make use of the tracker. >From: Florent Georges <dar...@ya...> >Reply-To: ges...@li... >To: ges...@li... >Subject: Re: [Gestalt-users] Gexslt crash >Date: Thu, 21 Sep 2006 19:30:57 +0200 (CEST) > >Colin Adams wrote: > > Hi > > > That can take a while to track down. Not this weekend then. > > Yes, I guessed that. But I prefered to "record" it as I found it. >You don't seem to use the SF.net bug tracker, but you prefer maybe I >fill in an issue? > > Regards, > >--drkm > > > > > > > > > > > > > > > > > > > > > > > > > > >___________________________________________________________________________ >Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son >interface révolutionnaire. >http://fr.mail.yahoo.com > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >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 |
From: Florent G. <dar...@ya...> - 2006-09-21 17:31:07
|
Colin Adams wrote: Hi > That can take a while to track down. Not this weekend then. Yes, I guessed that. But I prefered to "record" it as I found it. You don't seem to use the SF.net bug tracker, but you prefer maybe I fill in an issue? Regards, --drkm ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com |
From: Colin A. <col...@ho...> - 2006-09-21 17:01:08
|
Oh bum! I had hoped I'd found all the problemslike this. That can take a while to track down. Not this weekend then. >From: Florent Georges <dar...@ya...> >Reply-To: ges...@li... >To: Gestalt ML <ges...@li...> >Subject: [Gestalt-users] Gexslt crash >Date: Thu, 21 Sep 2006 18:45:42 +0200 (CEST) > > Hi > > I found an other issue that makes Gexslt crash. Here is >the more simple example I written that reproduces the >problem (not really minimal, but I can't reduce it more): > > > cat gexslt-crash.xml > <test:report > xmlns:test="http://www.fgeorges.org/xslt/unit-test" > tested="hello-world.xsl" > tested-absolute=".../hello-world.xsl" > date="2006-09-21T11:30:55.142+02:00"> > <test:tests id="false"> > <test:title>False negative</test:title> > <test:test id="false.1" successful="false"> > <test:expect> > <elem2 id="id"/> > </test:expect> > <test:result> > <elem1/> > <elem2 id="id"/> > </test:result> > </test:test> > </test:tests> > </test:report> > > > cat gexslt-crash.xsl > <xsl:stylesheet version="2.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:test="http://www.fgeorges.org/xslt/unit-test" > exclude-result-prefixes="test xs" > xmlns="http://www.w3.org/1999/xhtml"> > > <xsl:template match="test:report"> > <html> > <xsl:apply-templates select=" > test:tests/test:test[not(xs:boolean(@successful))]"/> > </html> > </xsl:template> > > <xsl:template match="test:test"> > <xsl:apply-templates select="test:expect"> > <xsl:with-param name="comparison" select="test:result"/> > </xsl:apply-templates> > </xsl:template> > > <xsl:template match="test:expect"> > <xsl:param name="comparison" as="element()?" select="()"/> > <xsl:variable name="compare" as="node()*" select=" > $comparison/(node() except >text()[not(normalize-space())])"/> > <xsl:for-each select="node() except >text()[not(normalize-space())]"> > <xsl:variable name="pos" as="xs:integer" >select="position()"/> > <xsl:apply-templates select="." mode="mode"> > <xsl:with-param name="comparison" select="$compare[$pos]"/> > </xsl:apply-templates> > </xsl:for-each> > </xsl:template> > > <xsl:template match="*" mode="mode"> > <xsl:param name="comparison" as="node()?"/> > </xsl:template> > > </xsl:stylesheet> > > > gexslt gexslt-crash.xsl gexslt-crash.xml > >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 >------------------------------------------------------------------------------- > > Interestingly, if you replace "$compare[$pos]" by the >equivalent "$compare[current()/position()]", the >transformation doesn't crash anymore. > > Here is a full stack trace: > >gexslt: system execution failed. >Following is the set of recorded exceptions: > >------------------------------------------------------------------------------- >Class / Object Routine Nature of exception > Effect >------------------------------------------------------------------------------- >XM_XPATH_SINGLETON_ITERATOR > as_node_iterator @44 node_iterator: ><0000000003842B3C> (From XM_XPATH_SEQUENCE_ITERATOR) > Precondition violated. > Fail >------------------------------------------------------------------------------- >XM_XPATH_MEMO_CLOSURE > create_iterator @22 ><000000000382C49C> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_SUPPLIED_PARAMETER_REFERENCE > create_iterator @6 ><0000000003772944> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XPATH_ITEM_CHECKER > create_iterator @4 ><0000000003773C24> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XPATH_CARDINALITY_CHECKER > evaluate_item @5 ><00000000037753F4> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XPATH_CARDINALITY_CHECKER > eagerly_evaluate @49 ><00000000037753F4> (From XM_XPATH_EXPRESSION) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_LOCAL_PARAM process_leaving_tail @8 ><000000000377666C> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_TEMPLATE > expand @4 ><0000000003FA8154> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_TEMPLATE > process_leaving_tail @5 ><0000000003FA8154> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_APPLY_TEMPLATES > apply_templates @22 ><0000000003F9D71C> (From XM_XSLT_TEMPLATE_ROUTINES) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_APPLY_TEMPLATES > apply @22 ><0000000003F9D71C> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_APPLY_TEMPLATES > process @5 ><0000000003F9D71C> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XPATH_LET_EXPRESSION > process @17 ><0000000003F9B32C> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_FOR_EACH > process_leaving_tail @18 ><0000000003F9B4A4> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_FOR_EACH > process @7 ><0000000003F9B4A4> (From XM_XSLT_INSTRUCTION) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XPATH_LET_EXPRESSION > process @17 ><0000000003F9B5DC> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_BLOCK process_leaving_tail @13 ><0000000003F9B754> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_TEMPLATE > expand @4 ><0000000003FA7004> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_TEMPLATE > process_leaving_tail @5 ><0000000003FA7004> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_APPLY_TEMPLATES_PACKAGE > apply_templates @22 ><000000000381F2AC> (From XM_XSLT_TEMPLATE_ROUTINES) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_APPLY_TEMPLATES_PACKAGE > process_leaving_tail @7 ><000000000381F2AC> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_APPLY_TEMPLATES > apply_templates @33 ><0000000003F9AEF4> (From XM_XSLT_TEMPLATE_ROUTINES) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_APPLY_TEMPLATES > apply @22 ><0000000003F9AEF4> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_APPLY_TEMPLATES > process @5 ><0000000003F9AEF4> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_FIXED_ELEMENT > process_leaving_tail @22 ><0000000003F9B02C> (From XM_XSLT_ELEMENT_CONSTRUCTOR) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_TEMPLATE > expand @4 ><0000000003FA083C> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_COMPILED_TEMPLATE > process_leaving_tail @5 ><0000000003FA083C> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_TRANSFORMER apply_templates @28 > ><0000000003791D74> (From XM_XSLT_TEMPLATE_ROUTINES) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_TRANSFORMER perform_default_action @9 ><0000000003791D74> (From XM_XSLT_TEMPLATE_ROUTINES) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_TRANSFORMER apply_templates @15 > ><0000000003791D74> (From XM_XSLT_TEMPLATE_ROUTINES) > Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_TRANSFORMER perform_transformation @7 ><0000000003791D74> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_TRANSFORMER transform_document @21 > ><0000000003791D74> Routine failure. > Fail >------------------------------------------------------------------------------- >XM_XSLT_TRANSFORMER transform @66 > ><0000000003791D74> Routine failure. > Fail >------------------------------------------------------------------------------- >GEXSLT perform_transformation @33 ><0000000003F97C8C> Routine failure. > Fail >------------------------------------------------------------------------------- >GEXSLT execute @44 > ><0000000003F97C8C> Routine failure. > Fail >------------------------------------------------------------------------------- >GEXSLT root's creation > ><0000000003F97C8C> Routine failure. > Exit >------------------------------------------------------------------------------- > > 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 > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >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 |
From: Florent G. <dar...@ya...> - 2006-09-21 16:45:53
|
Hi I found an other issue that makes Gexslt crash. Here is the more simple example I written that reproduces the problem (not really minimal, but I can't reduce it more): > cat gexslt-crash.xml <test:report xmlns:test="http://www.fgeorges.org/xslt/unit-test" tested="hello-world.xsl" tested-absolute=".../hello-world.xsl" date="2006-09-21T11:30:55.142+02:00"> <test:tests id="false"> <test:title>False negative</test:title> <test:test id="false.1" successful="false"> <test:expect> <elem2 id="id"/> </test:expect> <test:result> <elem1/> <elem2 id="id"/> </test:result> </test:test> </test:tests> </test:report> > cat gexslt-crash.xsl <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:test="http://www.fgeorges.org/xslt/unit-test" exclude-result-prefixes="test xs" xmlns="http://www.w3.org/1999/xhtml"> <xsl:template match="test:report"> <html> <xsl:apply-templates select=" test:tests/test:test[not(xs:boolean(@successful))]"/> </html> </xsl:template> <xsl:template match="test:test"> <xsl:apply-templates select="test:expect"> <xsl:with-param name="comparison" select="test:result"/> </xsl:apply-templates> </xsl:template> <xsl:template match="test:expect"> <xsl:param name="comparison" as="element()?" select="()"/> <xsl:variable name="compare" as="node()*" select=" $comparison/(node() except text()[not(normalize-space())])"/> <xsl:for-each select="node() except text()[not(normalize-space())]"> <xsl:variable name="pos" as="xs:integer" select="position()"/> <xsl:apply-templates select="." mode="mode"> <xsl:with-param name="comparison" select="$compare[$pos]"/> </xsl:apply-templates> </xsl:for-each> </xsl:template> <xsl:template match="*" mode="mode"> <xsl:param name="comparison" as="node()?"/> </xsl:template> </xsl:stylesheet> > gexslt gexslt-crash.xsl gexslt-crash.xml 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 ------------------------------------------------------------------------------- Interestingly, if you replace "$compare[$pos]" by the equivalent "$compare[current()/position()]", the transformation doesn't crash anymore. Here is a full stack trace: gexslt: system execution failed. Following is the set of recorded exceptions: ------------------------------------------------------------------------------- Class / Object Routine Nature of exception Effect ------------------------------------------------------------------------------- XM_XPATH_SINGLETON_ITERATOR as_node_iterator @44 node_iterator: <0000000003842B3C> (From XM_XPATH_SEQUENCE_ITERATOR) Precondition violated. Fail ------------------------------------------------------------------------------- XM_XPATH_MEMO_CLOSURE create_iterator @22 <000000000382C49C> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_SUPPLIED_PARAMETER_REFERENCE create_iterator @6 <0000000003772944> Routine failure. Fail ------------------------------------------------------------------------------- XM_XPATH_ITEM_CHECKER create_iterator @4 <0000000003773C24> Routine failure. Fail ------------------------------------------------------------------------------- XM_XPATH_CARDINALITY_CHECKER evaluate_item @5 <00000000037753F4> Routine failure. Fail ------------------------------------------------------------------------------- XM_XPATH_CARDINALITY_CHECKER eagerly_evaluate @49 <00000000037753F4> (From XM_XPATH_EXPRESSION) Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_LOCAL_PARAM process_leaving_tail @8 <000000000377666C> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_TEMPLATE expand @4 <0000000003FA8154> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_TEMPLATE process_leaving_tail @5 <0000000003FA8154> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_APPLY_TEMPLATES apply_templates @22 <0000000003F9D71C> (From XM_XSLT_TEMPLATE_ROUTINES) Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_APPLY_TEMPLATES apply @22 <0000000003F9D71C> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_APPLY_TEMPLATES process @5 <0000000003F9D71C> Routine failure. Fail ------------------------------------------------------------------------------- XM_XPATH_LET_EXPRESSION process @17 <0000000003F9B32C> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_FOR_EACH process_leaving_tail @18 <0000000003F9B4A4> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_FOR_EACH process @7 <0000000003F9B4A4> (From XM_XSLT_INSTRUCTION) Routine failure. Fail ------------------------------------------------------------------------------- XM_XPATH_LET_EXPRESSION process @17 <0000000003F9B5DC> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_BLOCK process_leaving_tail @13 <0000000003F9B754> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_TEMPLATE expand @4 <0000000003FA7004> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_TEMPLATE process_leaving_tail @5 <0000000003FA7004> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_APPLY_TEMPLATES_PACKAGE apply_templates @22 <000000000381F2AC> (From XM_XSLT_TEMPLATE_ROUTINES) Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_APPLY_TEMPLATES_PACKAGE process_leaving_tail @7 <000000000381F2AC> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_APPLY_TEMPLATES apply_templates @33 <0000000003F9AEF4> (From XM_XSLT_TEMPLATE_ROUTINES) Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_APPLY_TEMPLATES apply @22 <0000000003F9AEF4> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_APPLY_TEMPLATES process @5 <0000000003F9AEF4> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_FIXED_ELEMENT process_leaving_tail @22 <0000000003F9B02C> (From XM_XSLT_ELEMENT_CONSTRUCTOR) Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_TEMPLATE expand @4 <0000000003FA083C> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_COMPILED_TEMPLATE process_leaving_tail @5 <0000000003FA083C> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_TRANSFORMER apply_templates @28 <0000000003791D74> (From XM_XSLT_TEMPLATE_ROUTINES) Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_TRANSFORMER perform_default_action @9 <0000000003791D74> (From XM_XSLT_TEMPLATE_ROUTINES) Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_TRANSFORMER apply_templates @15 <0000000003791D74> (From XM_XSLT_TEMPLATE_ROUTINES) Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_TRANSFORMER perform_transformation @7 <0000000003791D74> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_TRANSFORMER transform_document @21 <0000000003791D74> Routine failure. Fail ------------------------------------------------------------------------------- XM_XSLT_TRANSFORMER transform @66 <0000000003791D74> Routine failure. Fail ------------------------------------------------------------------------------- GEXSLT perform_transformation @33 <0000000003F97C8C> Routine failure. Fail ------------------------------------------------------------------------------- GEXSLT execute @44 <0000000003F97C8C> Routine failure. Fail ------------------------------------------------------------------------------- GEXSLT root's creation <0000000003F97C8C> Routine failure. Exit ------------------------------------------------------------------------------- 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 |
From: Florent G. <dar...@ya...> - 2006-09-21 13:07:36
|
Colin Adams wrote: > Could you write it and check it in? It's almost the same > as ends-with()? (you can guess out the class name from > the error message). It should only take you 10 minutes. I'd really like to. But I think that I'd need more than 10 minutes to learn Eiffel, and it is better for everybody I don't try to commit any Eiffel code ;-( We can use this kind of workaround waiting for the fix: <xsl:function name="my:starts-with" as="xs:boolean"> <xsl:param name="string" as="xs:string"/> <xsl:param name="start" as="xs:string"/> <xsl:sequence select=" substring($string, 1, string-length($start)) eq $start"/> </xsl:function> I'm sorry I can't help more here. 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 |
From: Colin A. <col...@ho...> - 2006-09-21 10:12:17
|
You are quite right. Could you write it and check it in? It's almost the same as ends-with()? (you can guess out the class name from the error message). It should only take you 10 minutes. Note that currently I avoid collation considerations, as the only collation that gexslt currently supports is the Unicode code-point collation. If not, it will have to wait until mid-October. >From: Florent Georges <dar...@ya...> >Reply-To: ges...@li... >To: Gestalt ML <ges...@li...> >Subject: [Gestalt-users] Issue related to starts-with() >Date: Thu, 21 Sep 2006 12:00:41 +0200 (CEST) > > Hi > > I just found the following issue. It seems (from the >error message) that the implementation for starts-with() is >simply not completely written yet. But just in case...: > > > cat gexslt-starts-with.xsl > <xsl:transform > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="2.0"> > > <xsl:template name="main"> > <res> > <xsl:value-of select=" > starts-with('Une phrase.', 'Une')"/> > </res> > </xsl:template> > > </xsl:transform> > > > gexslt gexslt-starts-with.xsl --template=main > TODO: {XM_XPATH_STARTS_WITH}.evaluate-item needs to be written > <?xml version="1.0" encoding="UTF-8"?><res/> > > Regards, > >--drkm > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >___________________________________________________________________________ >Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son >interface révolutionnaire. >http://fr.mail.yahoo.com > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >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 |
From: Florent G. <dar...@ya...> - 2006-09-21 10:00:50
|
Hi I just found the following issue. It seems (from the error message) that the implementation for starts-with() is simply not completely written yet. But just in case...: > cat gexslt-starts-with.xsl <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:template name="main"> <res> <xsl:value-of select=" starts-with('Une phrase.', 'Une')"/> </res> </xsl:template> </xsl:transform> > gexslt gexslt-starts-with.xsl --template=main TODO: {XM_XPATH_STARTS_WITH}.evaluate-item needs to be written <?xml version="1.0" encoding="UTF-8"?><res/> Regards, --drkm ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com |
From: Florent G. <dar...@ya...> - 2006-09-21 08:33:14
|
Colin Adams wrote: Hi > A truely bizarre bug! Isn't it? Actually, you don't need the input. Running the stylesheet with a named template instead of the template rule produces the same result. > I'll fix it this weekend. Great! (one thing I learn since I work is to never give too strong deadlines, that makes users disappointed ;-p) 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 |
From: Colin A. <col...@ho...> - 2006-09-20 21:35:52
|
Yes, I can reproduce this behaviour. A truely bizarre bug! I'll fix it this weekend. >From: Florent Georges <dar...@ya...> >Reply-To: ges...@li... >To: ges...@li... >Subject: Re: [Gestalt-users] Copied elements loose the namespace part >oftheirname >Date: Wed, 20 Sep 2006 14:26:44 +0200 (CEST) > >Colin Adams wrote: > > Hi > > > So if you want a resolution before mid-October, you'd > > better post the template concerned here, so i can think > > about it. > > I finally succeed to write a simple example. It seems it >is related to xsl:namespace-alias: > > > cat gexslt-copy-ns.xml > <test:suite > xmlns:test="http://www.fgeorges.org/xslt/unit-test"> > > <test:tests id="dummy"> > <test:title>Dummy title</test:title> > <test:test> > <test:expect select="()"/> > </test:test> > </test:tests> > > </test:suite> > > > cat gexslt-copy-ns.xsl > <xsl:stylesheet > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:test="http://www.fgeorges.org/xslt/unit-test" > xmlns:x_="http://www.w3.org/1999/XSL/TransformAlias" > version="2.0" > exclude-result-prefixes="x_"> > > <xsl:namespace-alias stylesheet-prefix="x_" > result-prefix="xsl"/> > > <xsl:output indent="yes"/> > > <xsl:template match="/"> > <test:report/> > </xsl:template> > > </xsl:stylesheet> > > > gexslt gexslt-copy-ns.xsl gexslt-copy-ns.xml > <?xml version="1.0" encoding="UTF-8"?> > <report xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/> > > If you remove the xsl:namespace-alias instruction, you'll >get the following output, which is correct IMHO: > > <?xml version="1.0" encoding="UTF-8"?> > <test:report xmlns:test="http://www.fgeorges.org/xslt/unit-test"/> > > Have a good trip (vacation if you're lucky) in China. > > 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 > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >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 |
From: Florent G. <dar...@ya...> - 2006-09-20 12:26:55
|
Colin Adams wrote: Hi > So if you want a resolution before mid-October, you'd > better post the template concerned here, so i can think > about it. I finally succeed to write a simple example. It seems it is related to xsl:namespace-alias: > cat gexslt-copy-ns.xml <test:suite xmlns:test="http://www.fgeorges.org/xslt/unit-test"> <test:tests id="dummy"> <test:title>Dummy title</test:title> <test:test> <test:expect select="()"/> </test:test> </test:tests> </test:suite> > cat gexslt-copy-ns.xsl <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:test="http://www.fgeorges.org/xslt/unit-test" xmlns:x_="http://www.w3.org/1999/XSL/TransformAlias" version="2.0" exclude-result-prefixes="x_"> <xsl:namespace-alias stylesheet-prefix="x_" result-prefix="xsl"/> <xsl:output indent="yes"/> <xsl:template match="/"> <test:report/> </xsl:template> </xsl:stylesheet> > gexslt gexslt-copy-ns.xsl gexslt-copy-ns.xml <?xml version="1.0" encoding="UTF-8"?> <report xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/> If you remove the xsl:namespace-alias instruction, you'll get the following output, which is correct IMHO: <?xml version="1.0" encoding="UTF-8"?> <test:report xmlns:test="http://www.fgeorges.org/xslt/unit-test"/> Have a good trip (vacation if you're lucky) in China. 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 |
From: Colin A. <col...@ho...> - 2006-09-20 06:40:35
|
I can't look at this before Friday, as I can't easily open tarballs here at work. I won't have much time at the weekend either, as I will be preparing to go to China for the first week in October. So if you want a resolution before mid-October, you'd better post the template concerned here, so i can think about it. >From: Florent Georges <dar...@ya...> > I'm still trying to use XSLT Unit with Gexslt. I have two >issues related to namespaces. The transformation is the one >with src/test-suite-gen.xsl and the sample unit test >test/hello-world.xts. I describe below the first issue and >will start an other thread for the second one. The tarball >with the sources and sample is at: > > http://www.fgeorges.org/tmp/xslt-unit.tar.gz > > In the generated output, the test:tests and test:test >elements are copied. But they belong to no namespace (they >become resp. tests and test elements). > > I didn't succeed to produce a minimal example reproducing >the problem. But maybe it is related to the named template >"test:copy-in-context". > > I put the *output* (an other stylesheet) at: > > http://www.fgeorges.org/tmp/test-hello-world.xts.xsl > > Regards, > >--drkm > > > > > > > > > > > > > > > > > > > > > > > > >___________________________________________________________________________ >Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son >interface révolutionnaire. >http://fr.mail.yahoo.com > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Gestalt-users mailing list >Ges...@li... >https://lists.sourceforge.net/lists/listinfo/gestalt-users _________________________________________________________________ Download the new Windows Live Toolbar, including Desktop search! http://toolbar.live.com/?mkt=en-gb |
From: Florent G. <dar...@ya...> - 2006-09-19 21:57:19
|
Hi I'm trying to use gexslt:transformation(). So I wrote the following sample: <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:gexslt="http://www.gobosoft.com/eiffel/gobo/gexslt/extension" xmlns:my="my:gexslt-transform.xsl" version="2.0"> <my:test> <!-- prints local name of document element --> <xsl:transform xml:id="test" version="2.0"> <xsl:template match="/"> <output> <xsl:value-of select="*[1]/name()"/> </output> </xsl:template> </xsl:transform> </my:test> <xsl:template name="main"> <xsl:sequence select="gexslt:transformation('#test', doc(''))"/> </xsl:template> </xsl:transform> Here is the error I get while running the transformation: $ gexslt gexslt-transform.xsl --template=main <?xml version="1.0" encoding="UTF-8"?>gexslt:COMPILE_FAILED Undeclared namespace error in tag <xsl:transform> Undeclared namespace error in tag <xsl:transform> Any idea of which prefix Gexslt is complaining about? 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 |
From: Florent G. <dar...@ya...> - 2006-09-19 21:47:15
|
Florent Georges wrote: Hi > I describe below the first issue and > will start an other thread for the second one. Forget the second issue. It was a wrong read of the CR, but I understood my fault reading again the CR while writing my post. But the first issue is still open ;-) Sorry for the noise. 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 |
From: Florent G. <dar...@ya...> - 2006-09-19 21:17:37
|
Hi I'm still trying to use XSLT Unit with Gexslt. I have two issues related to namespaces. The transformation is the one with src/test-suite-gen.xsl and the sample unit test test/hello-world.xts. I describe below the first issue and will start an other thread for the second one. The tarball with the sources and sample is at: http://www.fgeorges.org/tmp/xslt-unit.tar.gz In the generated output, the test:tests and test:test elements are copied. But they belong to no namespace (they become resp. tests and test elements). I didn't succeed to produce a minimal example reproducing the problem. But maybe it is related to the named template "test:copy-in-context". I put the *output* (an other stylesheet) at: http://www.fgeorges.org/tmp/test-hello-world.xts.xsl Regards, --drkm ___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com |
From: Florent G. <dar...@ya...> - 2006-09-19 21:03:14
|
Florent Georges wrote: Hi Colin Sorry for the delay, I unfortunately don't have a lot of time to work on my personal projects now :-( > Yes, you're right. This function is only available in > Saxon SA, I'll change the @use-when accordingly. I changed those, and the stylesheet run to the end now. Then I run the example test suite from the beginning (the compilation step, in this thread the problem was in the next step, the run step). And there is a strange issue related to namespaces. I'll open a new thread. I put the actual state of XSLT Unit there, for info: http://www.fgeorges.org/tmp/xslt-unit.tar.gz Thanks a lot for all your help, Colin. 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 |
From: Florent G. <dar...@ya...> - 2006-09-11 08:48:45
|
Colin Paul Adams wrote: Hi > Same result with saxon-J 8.8B. Yes, you're right. This function is only available in Saxon SA, I'll change the @use-when accordingly. My fault. 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 |
From: Colin P. A. <co...@co...> - 2006-09-09 17:43:27
|
>>>>> "Colin" == Colin Paul Adams <co...@co...> writes: >>>>> "Florent" == Florent Georges <dar...@ya...> writes: >>> (I can't be sure, as Saxon fails to find an extension >>> function, so i can't compare results). Florent> With which version? And what error message? I tried Florent> with Saxon too and all was fine (produced the expected Florent> output). Colin> Saxon-J 8.7.1B Same result with saxon-J 8.8B. -- Colin Adams Preston Lancashire |
From: Colin P. A. <co...@co...> - 2006-09-09 17:39:06
|
>>>>> "Florent" == Florent Georges <dar...@ya...> writes: >> (I can't be sure, as Saxon fails to find an extension function, >> so i can't compare results). Florent> With which version? And what error message? I tried Florent> with Saxon too and all was fine (produced the expected Florent> output). Saxon-J 8.7.1B saxon test/hello-world.xsl test/test-hello-world.xts.xsl Error at xsl:variable on line 72 of file:/home/colin/src/test-suite-utils.xsl: XPST0003: XPath syntax error at char 146 on line 72 in {...t:type-annotation-catch', 1...}: Cannot find a matching 2-argument function named {http://saxon.sf.net/}function() Failed to compile stylesheet. 1 error detected. I'll instal 8.8 soon, and try that. >> I'll check the fixes in tomorrow or Monday morning. Florent> Do you mean "commit"? Yes. -- Colin Adams Preston Lancashire |
From: Florent G. <dar...@ya...> - 2006-09-09 17:10:49
|
Colin Paul Adams wrote: Hi Colin > Fixed it, I think Great! > (I can't be sure, as Saxon fails to find an > extension function, so i can't compare results). With which version? And what error message? I tried with Saxon too and all was fine (produced the expected output). > I'll check the fixes in tomorrow or Monday morning. Do you mean "commit"? I'll update my local copy and continue the tests as soon as you commit the changes. Thanks a lot for your help, Colin. I hope I'll be able soon to use Gexslt to run XSLT Unit. 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 |
From: Colin P. A. <co...@co...> - 2006-09-09 16:58:12
|
Fixed it, I think (I can't be sure, as Saxon fails to find an extension function, so i can't compare results). I'll check the fixes in tomorrow or Monday morning. -- Colin Adams Preston Lancashire |
From: Colin P. A. <co...@co...> - 2006-09-08 17:47:52
|
Thanks - I got it and, and I'm able to reproduce the crash. -- Colin Adams Preston Lancashire |
From: Florent G. <dar...@ya...> - 2006-09-08 16:04:56
|
Colin Paul Adams wrote: > I can't see an attachment - please send it via personal email, > in case sf is getting in the way. Very weird. I can open it in the copy I got from the list. Anyway, I forward it to your personal address. 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 |
From: Colin P. A. <co...@co...> - 2006-09-08 15:33:21
|
I can't see an attachment - please send it via personal email, in case sf is getting in the way. -- Colin Adams Preston Lancashire |
From: Florent G. <dar...@ya...> - 2006-09-08 15:29:03
|
Colin Paul Adams wrote: Hi > Anyway, having got around that, line 42 of test-suite-utils.xsl > (as downloaded from your website) uses saxon extension functions. Yes, I changed that a few weeks ago. And I'd like to can use Gexslt before to update the files on this page. > I guess you have an updated version of this file - if so, can > you send it to me? Yes. I'm sorry I didn't think to sent it together with the other files. You'll find an archive in attachment, with the input and stylesheet in test/, and original and imported stylesheets in src/ (hello-world.xsl is the input): # cd where/you/unzip/it # gexslt test/test-hello-world.xts.xsl \ test/hello-world.xsl Thanks a lot for your help, Colin, and sorry once again for the loose of time because of the imported module. 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 |
From: Colin P. A. <co...@co...> - 2006-09-08 11:54:04
|
>>>>> "Colin" == Colin Paul Adams <co...@co...> writes: Colin> 3) with a hard-coded path of /home/src/ No, actually, it was ../src. Anyway, having got around that, line 42 of test-suite-utils.xsl (as downloaded from your website) uses saxon extension functions. I'm also getting a report of a missing else on line 41, but there's so much of it it's hard to tell where. I guess you have an updated version of this file - if so, can you send it to me? -- Colin Adams Preston Lancashire |