db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5905) Derby html documentation doesn't render properly and prints garbage on Internet Explorer
Date Fri, 17 Aug 2012 11:08:38 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436656#comment-13436656
] 

Knut Anders Hatlen commented on DERBY-5905:
-------------------------------------------

Kristian said:

> Another remark is that when I copied one of the pages that IE wasn't
> able to display online to my local drive, IE was able to display it.
> It used IE8 Quirks mode, but I don't know what it's trying to do for
> the online version since everything just "hangs"/stops before I can
> tell what's going on.

I'm not sure exactly what quirks mode does, but I searched for the
problems we're seeing, and found that Internet Explorer takes comments
that come before the DOCTYPE declaration as a signal to enable quirks
mode. See for example this thread:
http://stackoverflow.com/questions/941100/can-html-comments-appear-before-the-doctype-declaration

So in any case it sounds safest to move the license comment away from
the declaration to prevent any interaction with that mechanism in IE.
                
> Derby html documentation doesn't render properly and prints garbage on Internet Explorer
> ----------------------------------------------------------------------------------------
>
>                 Key: DERBY-5905
>                 URL: https://issues.apache.org/jira/browse/DERBY-5905
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 10.8.2.2, 10.9.1.0, 10.10.0.0
>            Reporter: Kathey Marsden
>         Attachments: d5905-1a-move-comments.diff, screenshot-1.jpg
>
>
> There have been reports that DERBY html documentation does not render on Internet Explorer
8 and 9.
> Kristian reports on IE8
> Just tried with IE8, and with the Getting Started manual I get this when I view the source:
> """
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
> <BODY></BODY></HTML>
> <snipped garbage as to not put it in jira>
> Not sure how that last line will turn out in your email clients, but it is indeed garbage
and you can see that the body-tag is empty. Nothing is rendered in the browser. We are using
frames though - that's not exactly state-of-the-art... We are also using the wrong DOCTYPE.
I'm suspecting that the HTML is invalid too, but haven't checked. 
> On IE9 I had heard that the reference HTML manual prints garbage.
> http://db.apache.org/derby/manuals/index.html#latest

--
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

        

Mime
View raw message