cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Sahuc <ssa...@imediation.com>
Subject RE: [Xalan2] Namespaces Problem]
Date Thu, 19 Oct 2000 13:07:33 GMT
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