forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: XHTMLSerializer
Date Sat, 30 Oct 2004 08:13:56 GMT
Sean Wheller wrote:
> Sean Wheller wrote:
> > I have added "XHTMLSerializer" to the Forrest sitemap to be capable of
> > receiving input in XHTML10. Like this:
> >
> > <map:serializer name="xhtml"
> > src="org.apache.cocoon.serialization.XMLSerializer"
> >                         mime-type="text/html"
> > logger="sitemap.serializer.xhtml" pool-grow="2" pool-max="64" pool-min="2">
> >         <doctype-public>-//W3C//DTD XHTML 1.0
> >                         Transitional//EN</doctype-public>
> >        
> > <doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</do
> >ctype-system> <encoding>UTF-8</encoding>
> >         <indent>yes</indent>
> >       </map:serializer>
> >
> > However, when I do http get cocoon just seems to hand or not be able to
> > resolve the request. Is there something else I need to do to sitemap.xmap?
> 
> Fixed this it was nothing to do  with the new serializer, just catalog 
> problems.
>
> > Can the "XMLSerializer" accept the loose DTD instead of the strict?
> 
> Still would like to know if the answer to this question is "yes" or "no."

I think that those parameters are only to tell the serializer
the document type declaration to add to the output xhtml,
i.e. it could be "-//Foo//Bar//EN" if you want.

-- 
David Crossley


Mime
View raw message