Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 19147 invoked from network); 28 Feb 2007 23:50:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2007 23:50:14 -0000 Received: (qmail 82831 invoked by uid 500); 28 Feb 2007 23:50:21 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 82793 invoked by uid 500); 28 Feb 2007 23:50:21 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 82641 invoked by uid 99); 28 Feb 2007 23:50:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 15:50:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 15:50:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F410A714151 for ; Wed, 28 Feb 2007 15:49:50 -0800 (PST) Message-ID: <24617451.1172706590996.JavaMail.jira@brutus> Date: Wed, 28 Feb 2007 15:49:50 -0800 (PST) From: "Thorsten Scherler (JIRA)" To: dev@forrest.apache.org Subject: [jira] Commented: (FOR-241) character entities (e.g. ampersand) are expanded again for href or src attributes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FOR-241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476768 ] Thorsten Scherler commented on FOR-241: --------------------------------------- Would an cocoon update fix this issue? > character entities (e.g. ampersand) are expanded again for href or src attributes > --------------------------------------------------------------------------------- > > Key: FOR-241 > URL: https://issues.apache.org/jira/browse/FOR-241 > Project: Forrest > Issue Type: Bug > Components: Core operations > Affects Versions: 0.6, 0.7 > Reporter: Diwaker Gupta > Fix For: 0.8-dev > > > If I have a url like this inside the XML source: > http://sourceforge.net/sflogo.php?group_id=comics-grabber&type=1 > validate-xdocs fails because it wants the literal & to be typed out as > & instead. So I correct it to become: > http://sourceforge.net/sflogo.php?group_id=comics-grabber&type=1 > However, the generated HTML has the entity resolution UNDONE!: > http://sourceforge.net/sflogo.php?group_id=comics-grabber&type=1 > This HTML fails validation as 4.01 transitional. > David Crossley adds: > There is a demonstration of the problem in the document > src/documentation/content/xdocs/docs/dreams.xml > The ampersand in the link element text is properly handled but > the ampersand in the link href attribute is not. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.