From dev-return-30833-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Thu Dec 03 03:58:45 2009 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 3649 invoked from network); 3 Dec 2009 03:58:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Dec 2009 03:58:45 -0000 Received: (qmail 14472 invoked by uid 500); 3 Dec 2009 03:58:45 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 14332 invoked by uid 500); 3 Dec 2009 03:58:44 -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 14256 invoked by uid 99); 3 Dec 2009 03:58:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 03:58:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 03:58:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AE19B234C045 for ; Wed, 2 Dec 2009 19:58:20 -0800 (PST) Message-ID: <197007473.1259812700698.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 03:58:20 +0000 (UTC) From: "David Crossley (JIRA)" To: dev@forrest.apache.org Subject: [jira] Updated: (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-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FOR-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Crossley updated FOR-241: ------------------------------- Affects Version/s: 0.9-dev 0.8 > 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, 0.8, 0.9-dev > Reporter: Diwaker Gupta > Fix For: 0.10 > > > 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.