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] [Updated] (DERBY-5905) Derby html documentation doesn't render properly and prints garbage on Internet Explorer
Date Wed, 22 Aug 2012 09:38:38 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen updated DERBY-5905:
--------------------------------------

    Attachment: d5905-2a-lang-attribute.diff

The problem appeared because the attributes must be added to the <html> node before
any child nodes are added to it. The original fix inserted the license comment right after
the <html> node, which made it non-empty when setTopicLanguage (or setTocLanguage) was
called. The fix is to add the attributes before the comment is added (this won't change the
order in which the elements appear, just the order in which they are processed/generated).

The patch d5905-2a-lang-attribute.diff makes this change. Committed to trunk with revision
1375956.
                
> 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, d5905-2a-lang-attribute.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