cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: Bug in XMLSerializer
Date Sun, 10 Sep 2000 05:28:52 GMT
Nicola Ken Barozzi wrote:
> 
> ----- 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.

So, where could be the problem with XalanTransformer? Xalan on the
commandline works well?

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1  856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1  856 2201
Hintereichenstrasse 7                     Mobil: +41 (0)78 759 7703 
CH-8166 Niederweningen                    Mailto:Giacomo.Pati@pwr.ch 
                                          Web:   http://www.pwr.ch

Mime
View raw message