It seems as if something weird is going on, possibly as an interaction between
DERBY-5905 and DERBY-5359.
Before the changes for these two issues, the html tag for the output looked like this (see the current 10.8 docs on the website for examples):
<html lang="en-us" xml:lang="en-us">
Now, after applying the patches, when I run "ant getstart" I get the following warnings:
[xslt] /export/home/chaase/derbydoc/trunk/DITA-OT220.127.116.11/xsl/map2htmtoc.xsl:9:18: Warning! Cannot add attribute lang after child nodes or before an element is produced. Attribute will be ignored.
[xslt] /export/home/chaase/derbydoc/trunk/DITA-OT18.104.22.168/xsl/dita2xhtml.xsl:8:18: Warning! Cannot add attribute lang after child nodes or before an element is produced. Attribute will be ignored.
So the html tag in an output file that I generate now looks like this:
On the web site itself, however, for the trunk and 10.9 docs the tag is just
I'm completely befuddled by this, so I'm just reporting what I am seeing. But we need the lang attributes for accessibility, in addition to the xmlns attribute.