From user-return-3820-apmail-forrest-user-archive=forrest.apache.org@forrest.apache.org Wed Sep 06 14:20:33 2006 Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 45736 invoked from network); 6 Sep 2006 14:20:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2006 14:20:32 -0000 Received: (qmail 17064 invoked by uid 500); 6 Sep 2006 14:20:32 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 17019 invoked by uid 500); 6 Sep 2006 14:20:31 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 17010 invoked by uid 99); 6 Sep 2006 14:20:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 07:20:31 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of thorsten.scherler@wyona.com designates 195.226.6.68 as permitted sender) Received: from [195.226.6.68] (HELO mx1.wyona.com) (195.226.6.68) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 07:20:30 -0700 Received: from 23.red-83-39-104.dynamicip.rima-tde.net ([83.39.104.23] helo=[172.26.0.5]) by mx1.wyona.com with asmtp (Exim 3.35 #1 (Debian)) id 1GKyG5-000132-00 for ; Wed, 06 Sep 2006 16:20:05 +0200 Subject: Re: xinclude From: Thorsten Scherler To: user@forrest.apache.org In-Reply-To: References: <6212b1d00606290824p5557e258q7d878c14d62cd89f@mail.gmail.com> <1151595390.8177.39.camel@localhost.localdomain> <44FB3B5C.80808@apache.org> <44FBE573.2010609@apache.org> Content-Type: text/plain; charset=utf-8 Date: Wed, 06 Sep 2006 16:19:12 +0200 Message-Id: <1157552352.8095.12.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N El mi=C3=A9, 06-09-2006 a las 15:00 +0100, Jim Dixon escribi=C3=B3: > On Mon, 4 Sep 2006, Ross Gardler wrote: >=20 > > > My only use of XInlude appears above. In logMeIn.xml I > > > > > > (a) add an xmlns:xi attribute to the document element > > > (b) add the xi:xinclude element > > > > > > Is either incorrect? Is there something else I should be doing? > > > > No that is fine. You also define the xinclude transformer in your > > sitemap, this is not necessary as it is defined in the root Forrest > > sitemap, but it will not be causing a problem. >=20 > [Some readers will recall that there is no project sitemap.] >=20 > Well, it doesn't cause a problem if you do a 'forrest run', but if > you do a 'forrest site', it fails: > ------------------------------------------------------------------------ > validate-xdocs: > /home/j2ee/jappgen/src/documentation/content/xdocs/eg/logMeIn.xml:4:54: > Attribute "xmlns:xi" must be declared for element type "document". > /home/j2ee/jappgen/src/documentation/content/xdocs/eg/logMeIn.xml:13:73: > Element type "xi:include" must be declared. > /home/j2ee/jappgen/src/documentation/content/xdocs/eg/logMeIn.xml:13:82: > The content of element type "source" must match > "(strong|em|code|sub|sup|br|img|icon|acronym|map|a)". > ------------------------------------------------------------------------ >=20 > Now I'm hoping that there is a simple workaround that I am missing but ..= . Well it looks like the xinclude transformation got not executed before the validation. The quickest way would be to exclude the url for validation in the forrest.properties. salu2 >=20 > -- > Jim Dixon jdd@dixons.org tel +44 117 982 0786 mobile +44 797 373 7881 --=20 Thorsten Scherler COO Spain Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org thorsten.scherler@wyona.com thorsten@apache.org