Return-Path: Delivered-To: apmail-maven-doxia-dev-archive@www.apache.org Received: (qmail 52012 invoked from network); 7 Sep 2007 11:06:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Sep 2007 11:06:24 -0000 Received: (qmail 72869 invoked by uid 500); 7 Sep 2007 11:06:18 -0000 Delivered-To: apmail-maven-doxia-dev-archive@maven.apache.org Received: (qmail 72828 invoked by uid 500); 7 Sep 2007 11:06:18 -0000 Mailing-List: contact doxia-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: doxia-dev@maven.apache.org Delivered-To: mailing list doxia-dev@maven.apache.org Received: (qmail 72819 invoked by uid 99); 7 Sep 2007 11:06:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 04:06:18 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vincent.siveton@gmail.com designates 66.249.82.232 as permitted sender) Received: from [66.249.82.232] (HELO wx-out-0506.google.com) (66.249.82.232) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2007 11:06:13 +0000 Received: by wx-out-0506.google.com with SMTP id h28so619176wxd for ; Fri, 07 Sep 2007 04:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=j4fASsiGxUN8C22diD3ImL2rE5CtxHzCgM/Gsp2ppCE=; b=T/M46GhKqzaW2w+6QucUfDs+8F81ySIWKN69fpMqFqUmyMO/ApCeP/XIJJfwq/QFm+sRaO42DvTb2I6jB2bhOs8RBnL5lGYf05PdXOLQ21I+roCM1oQ1ymTgXcsJxcPK/pgupEqgpsAhyxwzm1Yv8jy3+jtO8ee9+1xDi6FY7FU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mSXHoPOtES5FnPnEriZ+2N35ziJft0rG6GL7k4iZmXIz3VCoG7nN1+D9rdXrSURHIVnHZ0mbX4F5zHoyzZ/7nWPtcj7iaXpjM6aYLWJ9soSNBbDy/uZFCD3CvNjmWwIorGRx27iJd2NIpjQn1bczCbtmyEh4fkREw7Ajn9Pju1E= Received: by 10.90.113.18 with SMTP id l18mr3552191agc.1189163152273; Fri, 07 Sep 2007 04:05:52 -0700 (PDT) Received: by 10.70.77.9 with HTTP; Fri, 7 Sep 2007 04:05:52 -0700 (PDT) Message-ID: <9ae367340709070405p7e56f95cs53cf023857cc3a63@mail.gmail.com> Date: Fri, 7 Sep 2007 07:05:52 -0400 From: "Vincent Siveton" To: doxia-dev@maven.apache.org Subject: Re: head element in site.xml? In-Reply-To: <46E0FD01.2060808@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46E0FD01.2060808@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi, 2007/9/7, Lukas Theussl : > Hi, > > I just noticed that the site descriptors for the doxia (and maven) site > contain a element, apparently to include a javascript snippet in > all created site pages. I was not aware that this was possible, it's not > mentioned anywhere in the docs and google didn't help me either. Exactly. A small doc is in the description of the head field in decoration.mdo (doxia-decoration-model). > Problem is: 1st, it causes a bug that makes all maven generated pages > invalid XHTML [1], and 2nd I have already told a user that it's illegal > [also 1]. > > So question: should it be supported officially? If yes, whoever knows > more, please document! :) We need it, as brett said. For your first point, it due to a non-desired behaviour in p-u. Have a glance to the comment in org.codehaus.plexus.util.xml.Xpp3Dom#toString() I will fix the default-site.vm with a small workaround. Cheers, Vincent > > -Lukas > > [1] http://jira.codehaus.org/browse/MSITE-230 >