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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to