You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Bob Harner (Created) (JIRA)" <ji...@apache.org> on 2011/12/22 23:33:30 UTC

[jira] [Created] (INFRA-4248) Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode

Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode
--------------------------------------------------------------------------------------

                 Key: INFRA-4248
                 URL: https://issues.apache.org/jira/browse/INFRA-4248
             Project: Infrastructure
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Confluence
            Reporter: Bob Harner
            Priority: Minor


In the Tapestry project (and apparently many other projects too), the Confluence auto-export plugin is rendering HTML with the DOCTYPE declaration in the wrong place. This forces IE into Quirks mode, which breaks the layout of the Tapestry documentation pages in IE.

Our auto-export template has the <!DOCTYPE html> declaration as the first line, like this:

<!DOCTYPE html>
#set($base = "https://cwiki.apache.org/TAPESTRY")
#set($globalHelper = $action.getHelper())
#set($renderer = $globalHelper.getWikiStyleRenderer())
	
	<!--

    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->

but the HTML is rendered like this:
	
	<!--

    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE- 2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->

<!DOCTYPE HTML>

Most browsers other than IE are okay with having a comment block before the DOCTYPE declaration, but apparently Internet Explorer much more sensitive to DOCTYPE location, totally ignoring it in this case and rendering the page in Quirks mode.

This same DOCTYPE rearranging behavior is also seen on the Shiro, Directory, Camel, and ActiveMQ sites (and probably all Confluence-published Apache sites), and all of those sites are rendering in Quirks mode in IE because of it.

My guess (just a guess) is that the Apache infrastructure folks have set up the auto-export plugin to automatically insert or move the license comment block to the very top of the file for policy reasons.

Is the source for the version of the plugin that Apache runs available anywhere? I'd be glad to take a look at offer a more specific solution if it would help.

Thanks!


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4248) Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode

Posted by "#asfinfra IRC Bot (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175144#comment-13175144 ] 

#asfinfra IRC Bot commented on INFRA-4248:
------------------------------------------

<gmcdonald> please file this against the autoexport project over at atlassian plugins; then come back when its fixed and we'll upgrade to that version.

                
> Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode
> --------------------------------------------------------------------------------------
>
>                 Key: INFRA-4248
>                 URL: https://issues.apache.org/jira/browse/INFRA-4248
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Confluence
>            Reporter: Bob Harner
>            Priority: Minor
>
> In the Tapestry project (and apparently many other projects too), the Confluence auto-export plugin is rendering HTML with the DOCTYPE declaration in the wrong place. This forces IE into Quirks mode, which breaks the layout of the Tapestry documentation pages in IE.
> Our auto-export template has the <!DOCTYPE html> declaration as the first line, like this:
> <!DOCTYPE html>
> #set($base = "https://cwiki.apache.org/TAPESTRY")
> #set($globalHelper = $action.getHelper())
> #set($renderer = $globalHelper.getWikiStyleRenderer())
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE-2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> but the HTML is rendered like this:
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE- 2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> <!DOCTYPE HTML>
> Most browsers other than IE are okay with having a comment block before the DOCTYPE declaration, but apparently Internet Explorer much more sensitive to DOCTYPE location, totally ignoring it in this case and rendering the page in Quirks mode.
> This same DOCTYPE rearranging behavior is also seen on the Shiro, Directory, Camel, and ActiveMQ sites (and probably all Confluence-published Apache sites), and all of those sites are rendering in Quirks mode in IE because of it.
> My guess (just a guess) is that the Apache infrastructure folks have set up the auto-export plugin to automatically insert or move the license comment block to the very top of the file for policy reasons.
> Is the source for the version of the plugin that Apache runs available anywhere? I'd be glad to take a look at offer a more specific solution if it would help.
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4248) Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode

Posted by "#asfinfra IRC Bot (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175129#comment-13175129 ] 

#asfinfra IRC Bot commented on INFRA-4248:
------------------------------------------

<joes4> you only have a year MAX to migrate off confluence. the sooner the better.

                
> Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode
> --------------------------------------------------------------------------------------
>
>                 Key: INFRA-4248
>                 URL: https://issues.apache.org/jira/browse/INFRA-4248
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Confluence
>            Reporter: Bob Harner
>            Priority: Minor
>
> In the Tapestry project (and apparently many other projects too), the Confluence auto-export plugin is rendering HTML with the DOCTYPE declaration in the wrong place. This forces IE into Quirks mode, which breaks the layout of the Tapestry documentation pages in IE.
> Our auto-export template has the <!DOCTYPE html> declaration as the first line, like this:
> <!DOCTYPE html>
> #set($base = "https://cwiki.apache.org/TAPESTRY")
> #set($globalHelper = $action.getHelper())
> #set($renderer = $globalHelper.getWikiStyleRenderer())
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE-2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> but the HTML is rendered like this:
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE- 2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> <!DOCTYPE HTML>
> Most browsers other than IE are okay with having a comment block before the DOCTYPE declaration, but apparently Internet Explorer much more sensitive to DOCTYPE location, totally ignoring it in this case and rendering the page in Quirks mode.
> This same DOCTYPE rearranging behavior is also seen on the Shiro, Directory, Camel, and ActiveMQ sites (and probably all Confluence-published Apache sites), and all of those sites are rendering in Quirks mode in IE because of it.
> My guess (just a guess) is that the Apache infrastructure folks have set up the auto-export plugin to automatically insert or move the license comment block to the very top of the file for policy reasons.
> Is the source for the version of the plugin that Apache runs available anywhere? I'd be glad to take a look at offer a more specific solution if it would help.
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4248) Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode

Posted by "Bob Harner (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175127#comment-13175127 ] 

Bob Harner commented on INFRA-4248:
-----------------------------------

I know the Infrastructure team is wanting to move projects to the new CMS. Maybe in a year or two the Tapestry project will be ready for that, but right now we are mostly very happy with Confluence and are hoping there is a simple solution to this IE DOCTYPE issue.
                
> Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode
> --------------------------------------------------------------------------------------
>
>                 Key: INFRA-4248
>                 URL: https://issues.apache.org/jira/browse/INFRA-4248
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Confluence
>            Reporter: Bob Harner
>            Priority: Minor
>
> In the Tapestry project (and apparently many other projects too), the Confluence auto-export plugin is rendering HTML with the DOCTYPE declaration in the wrong place. This forces IE into Quirks mode, which breaks the layout of the Tapestry documentation pages in IE.
> Our auto-export template has the <!DOCTYPE html> declaration as the first line, like this:
> <!DOCTYPE html>
> #set($base = "https://cwiki.apache.org/TAPESTRY")
> #set($globalHelper = $action.getHelper())
> #set($renderer = $globalHelper.getWikiStyleRenderer())
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE-2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> but the HTML is rendered like this:
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE- 2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> <!DOCTYPE HTML>
> Most browsers other than IE are okay with having a comment block before the DOCTYPE declaration, but apparently Internet Explorer much more sensitive to DOCTYPE location, totally ignoring it in this case and rendering the page in Quirks mode.
> This same DOCTYPE rearranging behavior is also seen on the Shiro, Directory, Camel, and ActiveMQ sites (and probably all Confluence-published Apache sites), and all of those sites are rendering in Quirks mode in IE because of it.
> My guess (just a guess) is that the Apache infrastructure folks have set up the auto-export plugin to automatically insert or move the license comment block to the very top of the file for policy reasons.
> Is the source for the version of the plugin that Apache runs available anywhere? I'd be glad to take a look at offer a more specific solution if it would help.
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (INFRA-4248) Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode

Posted by "#asfinfra IRC Bot (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/INFRA-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

#asfinfra IRC Bot closed INFRA-4248.
------------------------------------

    Resolution: Invalid
    
> Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode
> --------------------------------------------------------------------------------------
>
>                 Key: INFRA-4248
>                 URL: https://issues.apache.org/jira/browse/INFRA-4248
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Confluence
>            Reporter: Bob Harner
>            Priority: Minor
>
> In the Tapestry project (and apparently many other projects too), the Confluence auto-export plugin is rendering HTML with the DOCTYPE declaration in the wrong place. This forces IE into Quirks mode, which breaks the layout of the Tapestry documentation pages in IE.
> Our auto-export template has the <!DOCTYPE html> declaration as the first line, like this:
> <!DOCTYPE html>
> #set($base = "https://cwiki.apache.org/TAPESTRY")
> #set($globalHelper = $action.getHelper())
> #set($renderer = $globalHelper.getWikiStyleRenderer())
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE-2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> but the HTML is rendered like this:
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE- 2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> <!DOCTYPE HTML>
> Most browsers other than IE are okay with having a comment block before the DOCTYPE declaration, but apparently Internet Explorer much more sensitive to DOCTYPE location, totally ignoring it in this case and rendering the page in Quirks mode.
> This same DOCTYPE rearranging behavior is also seen on the Shiro, Directory, Camel, and ActiveMQ sites (and probably all Confluence-published Apache sites), and all of those sites are rendering in Quirks mode in IE because of it.
> My guess (just a guess) is that the Apache infrastructure folks have set up the auto-export plugin to automatically insert or move the license comment block to the very top of the file for policy reasons.
> Is the source for the version of the plugin that Apache runs available anywhere? I'd be glad to take a look at offer a more specific solution if it would help.
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4248) Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode

Posted by "#asfinfra IRC Bot (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175119#comment-13175119 ] 

#asfinfra IRC Bot commented on INFRA-4248:
------------------------------------------

<joes4> use the cms- it's doctor recommended!

                
> Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode
> --------------------------------------------------------------------------------------
>
>                 Key: INFRA-4248
>                 URL: https://issues.apache.org/jira/browse/INFRA-4248
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Confluence
>            Reporter: Bob Harner
>            Priority: Minor
>
> In the Tapestry project (and apparently many other projects too), the Confluence auto-export plugin is rendering HTML with the DOCTYPE declaration in the wrong place. This forces IE into Quirks mode, which breaks the layout of the Tapestry documentation pages in IE.
> Our auto-export template has the <!DOCTYPE html> declaration as the first line, like this:
> <!DOCTYPE html>
> #set($base = "https://cwiki.apache.org/TAPESTRY")
> #set($globalHelper = $action.getHelper())
> #set($renderer = $globalHelper.getWikiStyleRenderer())
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE-2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> but the HTML is rendered like this:
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE- 2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> <!DOCTYPE HTML>
> Most browsers other than IE are okay with having a comment block before the DOCTYPE declaration, but apparently Internet Explorer much more sensitive to DOCTYPE location, totally ignoring it in this case and rendering the page in Quirks mode.
> This same DOCTYPE rearranging behavior is also seen on the Shiro, Directory, Camel, and ActiveMQ sites (and probably all Confluence-published Apache sites), and all of those sites are rendering in Quirks mode in IE because of it.
> My guess (just a guess) is that the Apache infrastructure folks have set up the auto-export plugin to automatically insert or move the license comment block to the very top of the file for policy reasons.
> Is the source for the version of the plugin that Apache runs available anywhere? I'd be glad to take a look at offer a more specific solution if it would help.
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (INFRA-4248) Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode

Posted by "Bob Harner (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/INFRA-4248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175150#comment-13175150 ] 

Bob Harner commented on INFRA-4248:
-----------------------------------

Ok. What version of the plugin are you running, and is it a modified
version?

Bob Harner
On Dec 22, 2011 6:25 PM, "#asfinfra IRC Bot (Closed) (JIRA)" <


                
> Confluence autoexport rearranges DOCTYPE location in HTML, forcing IE into quirks mode
> --------------------------------------------------------------------------------------
>
>                 Key: INFRA-4248
>                 URL: https://issues.apache.org/jira/browse/INFRA-4248
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Confluence
>            Reporter: Bob Harner
>            Priority: Minor
>
> In the Tapestry project (and apparently many other projects too), the Confluence auto-export plugin is rendering HTML with the DOCTYPE declaration in the wrong place. This forces IE into Quirks mode, which breaks the layout of the Tapestry documentation pages in IE.
> Our auto-export template has the <!DOCTYPE html> declaration as the first line, like this:
> <!DOCTYPE html>
> #set($base = "https://cwiki.apache.org/TAPESTRY")
> #set($globalHelper = $action.getHelper())
> #set($renderer = $globalHelper.getWikiStyleRenderer())
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE-2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> but the HTML is rendered like this:
> 	
> 	<!--
>     Licensed to the Apache Software Foundation (ASF) under one or more
>     contributor license agreements.  See the NOTICE file distributed with
>     this work for additional information regarding copyright ownership.
>     The ASF licenses this file to You under the Apache License, Version 2.0
>     (the "License"); you may not use this file except in compliance with
>     the License.  You may obtain a copy of the License at
>        http://www.apache.org/licenses/LICENSE- 2.0
>     Unless required by applicable law or agreed to in writing, software
>     distributed under the License is distributed on an "AS IS" BASIS,
>     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     See the License for the specific language governing permissions and
>     limitations under the License.
> -->
> <!DOCTYPE HTML>
> Most browsers other than IE are okay with having a comment block before the DOCTYPE declaration, but apparently Internet Explorer much more sensitive to DOCTYPE location, totally ignoring it in this case and rendering the page in Quirks mode.
> This same DOCTYPE rearranging behavior is also seen on the Shiro, Directory, Camel, and ActiveMQ sites (and probably all Confluence-published Apache sites), and all of those sites are rendering in Quirks mode in IE because of it.
> My guess (just a guess) is that the Apache infrastructure folks have set up the auto-export plugin to automatically insert or move the license comment block to the very top of the file for policy reasons.
> Is the source for the version of the plugin that Apache runs available anywhere? I'd be glad to take a look at offer a more specific solution if it would help.
> Thanks!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira