Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 49015 invoked from network); 27 Nov 2006 02:39:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 02:39:36 -0000 Received: (qmail 39624 invoked by uid 500); 27 Nov 2006 02:39:45 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 39592 invoked by uid 500); 27 Nov 2006 02:39:45 -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 39582 invoked by uid 99); 27 Nov 2006 02:39:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Nov 2006 18:39:45 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [202.173.178.244] (HELO arc.mcc.id.au) (202.173.178.244) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Nov 2006 18:39:33 -0800 Received: from cam by arc.mcc.id.au with local (Exim 4.52) id 1GoWVk-0007ug-Lw for user@forrest.apache.org; Mon, 27 Nov 2006 12:46:24 +1000 Date: Mon, 27 Nov 2006 12:46:24 +1000 From: Cameron McCormack To: user@forrest.apache.org Subject: Re: Literal HTML content in a document-v20 file Message-ID: <20061127024624.GB29313@arc.mcc.id.au> Mail-Followup-To: user@forrest.apache.org References: <20061126234241.GA27807@arc.mcc.id.au> <20061127021115.GU903@igg.indexgeo.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20061127021115.GU903@igg.indexgeo.com.au> X-Numbers: 4 8 15 16 23 42 X-Attribution: Cam User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Checked: Checked by ClamAV on apache.org Cameron McCormack wrote: > > Is it possible to have some (X)HTML content in a document-v20 file that > > won’t be modified upon generating the .html files? I have an applet and > > a form in one file, but my applet and input elements get mangled > > (attributes go missing). I tried putting those elements in the XHTML > > namespace, but this makes no difference to the output. David Crossley: > Yes. I use that approach on the homepage of varietee.com.au So the namespace trick should work? In my xml file I have: ... ... ...
which gets turned into: ... ... ...
Apart from some of the attributes disappearing, I need the ids to be kept on the elements so that some script in the page can modify them. > The relevant xml page needs to be excluded from validation > via forrest.properties file (or define your own schema). I currently have validation turned off altogether. > What version of Forrest are you using? From memory there were > some changes in 0.8-dev trunk (and maybe in forrest_07_branch) > that affect such attributes. I’m using the 0.7 distribution. Thanks, Cameron -- Cameron McCormack, http://mcc.id.au/ xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au