Re: Re: Re: XHTML output and PDF
Posted by
Erik Bruchez on
URL: https://discuss.orbeon.com/XHTML-output-and-PDF-tp3026751p3032969.html
>> That would be a possibility. Could you try this change and make sure
>> it works with IE and other browsers?
>
> I could remove the accept header check (therefore output is always XHTML),
> set content-type to text/html (although application/xhtml+xml doesn't seem
> to trigger any problem in IE8 and IE7 compatibility mode), let it sink for a
> few weeks and send you patch then. I currently don't have time or knowledge
> to review xml-converter, if it outputs HTML-compliant XHTML in xhtml mode.
> But this solution would be better aligned with my expectations, when I set
> oxf.epilogue.output-xhtml = true.
Sure, please keep us posted.
Ideally IE 6 compatibility is (still) a requirement.
>> One requirement is that we don't want to trigger IE's quirks mode with
>> an improper DOCTYPE.
>
> Quirks mode choice is based on DOCTYPE as you said, not Content-Type. If
> oxf.epilogue.output-xhtml = true and browser is IE, then currently Orbeon
> works in quirks mode. It is in standards mode in all other browsers (that
> send application/xhtml+xml as part of accept header) and in IE when
> oxf.epilogue.output-xhtml = false. Interesting choice.
Probably a bug rather! Are you using a nightly build though? We made
some changes here a while back:
https://github.com/orbeon/orbeon-forms/commit/5ebdda0bf44bb194328f76d848baaa4020803162-Erik
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws