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-5359) Missing xmlns attribute for html element in docs
Date Wed, 31 Aug 2011 12:20:09 GMT

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

Knut Anders Hatlen commented on DERBY-5359:

Thanks for the patch, Jayaram!

I applied the patch and built the reference manual. It looks like the xmlns attribute is correctly
inserted into the html element. However, there's also an xmlns attribute inserted into some
elements where it doesn't belong. For example, in the toc.html file you attached, we have

<li><a xmlns="" href="rrefcopyright.html"/></li>
<li><a xmlns="" href="rreflicense.html"/></li>
<li><a xmlns="" href="crefmpref1002477.html"/>

The html validator now complains that there shouldn't be an xmlns attribute in the "a" element.
I don't see exactly this when I build it in my environment, but I do see xmlns attributes
inserted into meta and ul elements:

<meta xmlns="" content="text/html; charset=utf-8" http-equiv="Content-Type" />
<ul xmlns="">

Similar things seem to happen in the html files for the topics. For example in rrefclob.html:

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-us" xml:lang="en-us">
<head xmlns="">
<body xmlns="" id="rrefclob"><a name="rrefclob"><!-- --></a>

When I read the comments on DERBY-4408 again, I see that Kim experienced similar problem.
See https://issues.apache.org/jira/browse/DERBY-4408?focusedCommentId=13069007&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13069007.
I'm not sure what we'll have to do to get around that problem.

> Missing xmlns attribute for html element in docs
> ------------------------------------------------
>                 Key: DERBY-5359
>                 URL: https://issues.apache.org/jira/browse/DERBY-5359
>             Project: Derby
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>            Assignee: Jayaram Subramanian
>         Attachments: derby5359.diff, html.zip
> The html files in the documentation that are declared as XHTML don't pass as valid XHTML
because the html elements lack the xmlns attribute. Examples:
> http://db.apache.org/derby/docs/dev/ref/index.html
> --> http://validator.w3.org/check?uri=http%3A%2F%2Fdb.apache.org%2Fderby%2Fdocs%2Fdev%2Fref%2Findex.html
> http://db.apache.org/derby/docs/dev/ref/toc.html
> --> http://validator.w3.org/check?uri=http%3A%2F%2Fdb.apache.org%2Fderby%2Fdocs%2Fdev%2Fref%2Ftoc.html
> http://db.apache.org/derby/docs/dev/ref/rrefcallprocedure.html
> --> http://validator.w3.org/check?uri=http%3A%2F%2Fdb.apache.org%2Fderby%2Fdocs%2Fdev%2Fref%2Frrefcallprocedure.html

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message