[Yanel-dev] xhtml namespace is being added, although neither source XML nor XSLT is using xhtml namespace

Josias Thöny josias.thoeny at wyona.com
Mon Jul 30 10:49:03 CEST 2007


Michael Wechner wrote:
> Hi
> 
> I have noticed that the XML Resource is adding the xhtml namespace 
> although neither the source nor the XSLT is using it
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <data xmlns="http://www.w3.org/1999/xhtml"
> 
> You might want to give it a try at
> 
> http://127.0.0.1:8080/yanel/yanel-website/roadmap.xml
> 
> It seems to me there is some mixup re the Catalog/Entity resolver
> 
> or any other idea what might be wrong?

I guess this happens because the XMLResource uses the XHTMLSerializer.
Should we make the serializer configurable?
Or should we split the resource into a XHTMLResource and a XMLResource?

Josias

> 
> Cheers
> 
> Michi
> 



More information about the Yanel-development mailing list