Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 95708 invoked by uid 500); 18 Mar 2002 09:53:17 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 95697 invoked from network); 18 Mar 2002 09:53:16 -0000 Reply-To: From: =?iso-8859-1?Q?Matthieu_Ben=E9teau?= To: "Cocoon-Users" Subject: Different behaviours of HTMLSerializer, in attributes and elements. Date: Mon, 18 Mar 2002 10:51:38 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I have a little problem with the HTMLSerializer and accented letters in French. I'm working with Cocoon 2.0.1. All my XML files and stylesheets and all my components use the iso-8859-1 encoding. In my XML file I have the following element, which has an é letter in attribute "nom" : This element is correctly processed by a stylesheet to give the following XHTML : ...
Dimension name : puissance r�elle
Dimension index : 9
So now the accented letter appears twice : once in the "name" attribute of an anchor, and once in the content of a table row. No problem here. The problem appears after serialization with the HTMLSerializer, which gives the following HTML : ... ...
Dimension name : puissance réelle
Dimension index : 9
In the "name" atribute of the anchor, the é letter has been replaced by %C3%A9, so the following instruction will fail : parent.centerFrame.location.hash='#puissance réelle'; IMHO, this is not a correct behaviour of the HTMLSerializer. Am I right ? Matthieu --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: