cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <nicola...@supereva.it>
Subject Re: Bug in XMLSerializer
Date Sun, 10 Sep 2000 00:20:24 GMT
----- Original Message ----- 
From: "Stefano Mazzocchi" <stefano@apache.org>

> Giacomo Pati wrote:
> > 
> > Stefano, your recently commited XMLSerializer seems to have problems
> > with namespaces. When you enter the following snippet into a pipeline:
> > 
> >    <map:match pattern="sitemap">
> >     <map:generate src="sitemap.xmap"/>
> >     <map:serialize type=xml/>
> >    </map:match>
> > 
> > and request it with http://localhost:8080/cocoon/sitemap you'll see that
> > you get the sitemap.xmap file without namespace attributes. I've cross
> > checked that with the former XMLSerializer from Pier and that one works
> > correctly. I've also cross checked if the xerces serializers which are
> > used by the new XMLSerializer works correct. When I do a transformation
> > at the command line with xalan and giving it the -SX flag (explicitly
> > using xerces serializers) everything is fine.
> > 
> > Could you take a look at that? Maybe the Bridges are wrong?
> 
> Hmmm, could definately be, yeah.
> 
> I'll check it out as soon as I'm able to start C2 (I'm currently
> fighting with Catalina's classloader since I don't want to touch its
> classpath but just using /WEB-INF/lib but it doesn't work.. yet)
Regarding the sitemap stylesheet having problems with namespaces, well
il works all well with XT 
   <map:transformer     name="xt"      src="org.apache.cocoon.transformation.XTTransformer"/>
instead of Xalan as a Transformer.

nicola_ken




Mime
View raw message