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 this:
<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" />
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">
<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.