cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Sahuc <ssa...@imediation.com>
Subject Patch for latest version of Xalan2J
Date Thu, 19 Oct 2000 13:20:51 GMT
Please find attached the patch that works with the latest XalanJ2.

Just get the lastest snapshot of XalanJ2. This version corrects the
namespace problem we were having and has improved in term of performance
(For the sitemap the gain is significant : twice as fast than with the
current XalanJ2 version) and Scott told us there is still a lot to gain.
Isn't this true, Scott ? :-)

Once you got the lastest Xalan2j, apply the patch, and everything should be
OK and faster :-)

Ross, would you mind to commit this patch ? 

All the best,

Sebastien


-----Original Message-----
From: Sebastien Sahuc [mailto:ssahuc@imediation.com]
Sent: Thursday, October 19, 2000 3:08 PM
To: cocoon-dev@xml.apache.org
Subject: RE: [Xalan2] Namespaces Problem]


Thanks a lot Gary. It works great now. 
I'm submitting a diff in a next post for the last Xalan2 version (including
the package renaming for trax and serialize).
It's great to have such a community behind :-). Stefano is right when he
said that Cocoon project drives the other Apache projects ahead !
Sebastien 
> -----Original Message----- 
> From: Gary L Peskin [mailto:garyp@firstech.com] 
> Sent: Thursday, October 19, 2000 3:42 AM 
> To: cocoon-dev@xml.apache.org 
> Subject: [Re: [Xalan2] Namespaces Problem] 
> 
> 
> > Sebastien Sahuc wrote: 
> > 
> > Gary, 
> > 
> > Please find attached the xml and xsl on which the Xalan2j 
> reports the 
> > RTREEFRAG error. 
> > 
> > So far I couldn't get what's wrong with them, but I'm sure 
> you'll find 
> > it easily. 
> > 
> > Thanks, 
> > 
> > Sebastien 
> 
> Sorry it took so long to get back to you.  I had to take my 
> daughter to 
> soccer practice.  That's "football" in your neck of the woods. 
> 
> The problem is in the xsl:variable for local-matcher at 
> around line 401 
> of your stylesheet.  You have defined it as a result tree fragment and 
> then try to navigate to attribute nodes using 
> test="$local-matcher/@factory".  You can't do this for result tree 
> fragments, only nodesets and this is why Xalan complained. 
> 
> Just change your xsl:variable to 
> 
>     <xsl:variable name="local-matcher" 
> select="/map:sitemap/map:components/map:matchers/map:matcher[@ 
> name=$matcher-type]"/> 
> 
> and everything should be okay. 
> 
> Gary 
> 
 


Mime
View raw message