On Thu, Oct 29, 2009 at 10:31 AM, Meikel Brandmeyer <m...@kotka.de> wrote:
>
> Hi,
>
> I have some trouble getting some template through the system. The
> template looks like this:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
>
> The result like this:
>
> <!DOCTYPE "html" PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html>
>
> Firefox barfs on the quotes around html and the missing xmlns
> attribute on the html tag causes Firefox to display the xml tree and
> not the rendered file.
The quotes around html are a plain bug. Thanks for the report.
The problem with the disappearing xmlns is related to TagSoup -- the
easier fix I have for it right now is that you add it back with a rule
in your template :-(
Concerning firefox displaying the xml tree, which Content-Type are you
sending in your response?
Christophe
Nice! How good is flying saucer's pdf rendering?