Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BAEF67291 for ; Wed, 31 Aug 2011 13:18:33 +0000 (UTC) Received: (qmail 94097 invoked by uid 500); 31 Aug 2011 13:18:33 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 94060 invoked by uid 500); 31 Aug 2011 13:18:32 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 94053 invoked by uid 99); 31 Aug 2011 13:18:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 13:18:32 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 13:18:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4D2C442F88 for ; Wed, 31 Aug 2011 13:18:10 +0000 (UTC) Date: Wed, 31 Aug 2011 13:18:10 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: <2343886.2453.1314796690312.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2046644943.18185.1311932595612.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5359) Missing xmlns attribute for html element in docs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094511#comment-13094511 ] Knut Anders Hatlen commented on DERBY-5359: ------------------------------------------- I found a good explanation here: http://www.xmlplease.com/xhtmlxhtml Following those steps and adding both an xmlns and an xmlns:xhtml attribute to the xsl:stylesheet element made the xmlns attribute appear at the right place (and only there) in the generated documents. However, I had to do that both in the xsl files in the lib directory and in all the xsl files under DITA-OT1.1.2.1/xsl/xslhtml. So it looks like we'd either need to check in modified versions of more xsl files, or add a rewrite rule in the build script to modify the toolkit at build-time. Unless someone knows a better way to do the html generation, of course. > 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: 10.9.0.0 > 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