I am not aware of inserting this line but maybe I am just not aware where I
am doing that.
Our typical XHTML header looks like that:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns:authz="http://acegisecurity.org/authz"
xmlns:myhydra-f20="/WEB-INF/myhydra-f20.tld"
>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> Projektauswahl</title>
<link href="styles/tomahawk/jscookmenu/ThemeMiniBlack/theme.css"
rel="stylesheet" type="text/css" />
<link href="styles/tomahawk/basic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<f:view>
<f:loadBundle var="text" basename="#{basePage.bundleName}"/>
<div id="container">
..........
The generated header looks like that:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:authz="http://acegisecurity.org/authz"
xmlns:myhydra-f20="/WEB-INF/myhydra-f20.tld"><head><meta
http-equiv="Content-Type" content="text/html; charset=utf-8"
/><title>Projektauswahl</title><link
href="styles/tomahawk/jscookmenu/ThemeMiniBlack/theme.css" rel="stylesheet"
type="text/css" /><link href="styles/tomahawk/basic.css" rel="stylesheet"
type="text/css" /><meta http-equiv="Content-Type" content="text/html;
charset=utf-8" /><title>Projektliste</title></head><body><div
id="container">
..........
What causes this first line to be inserted ?
Regards
Patrick
Matt Raible-3 wrote:
>
> On 1/8/07, patz <[EMAIL PROTECTED]> wrote:
>>
>> We tried STRICT versus TRANSITIONAL but this does not solve the problems.
>> One known reason for IE switching to Quirks mode is the XML- Prolog <?xml
>> version="1.0"?> in line 1.
>> Is it possible tu suppress this line ?
>
> Isn't this line added by you? We don't add an XML prolog by default in
> AppFuse.
>
> Can't you delete the line yourself?
>
> Matt
>
>> (IE 7 should not have this problem any more.)
>> Regards
>> Patrick
>>
>>
>> Matt Raible-3 wrote:
>> >
>> > Are you saying the Transitional doctype doesn't work? I'm fine with
>> > changing it to Strict.
>> >
>> >
>> http://www.aptana.com/docs/index.php/About_using_a_Strict_vs._Transitional_DOCTYPE_in_HTML
>> >
>> > Some frameworks may render invalidation XHTML Strict, but that
>> > shouldn't affect anything. It's not like AppFuse has an XHTML
>> > validator that won't render pages if they're not valid. You can add
>> > this feature if you want though. ;-)
>> >
>> > http://tuckey.org/validation/
>> >
>> > Matt
>> >
>> > On 12/13/06, patz <[EMAIL PROTECTED]> wrote:
>> >>
>> >> I use appfuse 1.9.4 with facelets 2.0.
>> >> My XHTML pages contain a valid XHTML 1.0 Transitional header and
>> Firefox
>> >> 2.0
>> >> renders the generated pages correctly.
>> >> IE 6.0 renders the geneated pages incorrectly seeming to use HTML 4.0
>> >> mode
>> >> ??
>> >>
>> >> I read Matt's comment (subject: "IE7 Strict Rendering") about IE6 and
>> 7
>> >> problems rendering XHTML strict where he is waiting for new Microsoft
>> >> hacks.
>> >> But I am not sure if this isthe same issue.
>> >>
>> >> Changing the Doc-Type to several other possibilities did solve the
>> >> problem.
>> >>
>> >> Any help would be appreciated.
>> >> Regards
>> >> Patrick
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/IE-Problem-rendering-generated-XHTML-pages-tf2815109s2369.html#a7856336
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > http://raibledesigns.com
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/IE-Problem-rendering-generated-XHTML-pages-tf2815109s2369.html#a8214045
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/IE-Problem-rendering-generated-XHTML-pages-tf2815109s2369.html#a8214372
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]