cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <jheini...@virbus.de>
Subject Re: FileGenerator adds XHTML namespace?
Date Thu, 16 Oct 2003 22:12:25 GMT
Are you sure it's not the serializer? AFAIK XHTML is determined by the 
root element <html>, try to rename it and see what happens. The 
automagic in the FileGenerator (determining the type and using JTidy if 
necessary) was removed some time ago.

Joerg

On 15.10.2003 11:25, Andreas Hartmann wrote:
> Hi Cocoon users,
> 
> I just noticed an interesting behaviour of the FileGenerator:
> It transforms the source file
> 
>     <?xml version="1.0" encoding="UTF-8"?>
>     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
>               "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
>     <html>
>       ...
>     </html>
> 
> into
> 
>     <?xml version="1.0" encoding="UTF-8"?>
>     <html xmlns="http://www.w3.org/1999/xhtml"
>           version="-//W3C//DTD XHTML 1.1//EN">
>       ...
>     </html>
> 
> Is this configurable and documented?
> Is JTidy involved (the file ends with .xml)?
> 
> --Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message