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 912FD7C6D for ; Fri, 2 Sep 2011 09:40:53 +0000 (UTC) Received: (qmail 61623 invoked by uid 500); 2 Sep 2011 09:40:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 58020 invoked by uid 500); 2 Sep 2011 09:40:35 -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 56300 invoked by uid 99); 2 Sep 2011 09:40:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Sep 2011 09:40: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; Fri, 02 Sep 2011 09:40: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 8EF34373ED for ; Fri, 2 Sep 2011 09:40:10 +0000 (UTC) Date: Fri, 2 Sep 2011 09:40:10 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: <1796980590.10040.1314956410582.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=13095891#comment-13095891 ] Knut Anders Hatlen commented on DERBY-5359: ------------------------------------------- If we rewrite the xsl files in the buildscript (and also if we check in modified xsl files), the xmlns="" attributes won't be inserted, so there shouldn't be any need for post-processing to remove them, I think. It is true that only one of the files inserts an html element, and modifiying that file is enough to get xmlns added to the html element. The problem seems to be that other xsl files insert other elements into the same html file, and since there is no default namespace defined in the other xsl files, they will add xmlns="" to those elements to reset the namespace value. > 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