From dev-return-98051-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Thu Jan 03 01:34:07 2008 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 46995 invoked from network); 3 Jan 2008 01:34:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2008 01:34:07 -0000 Received: (qmail 68452 invoked by uid 500); 3 Jan 2008 01:33:55 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 68393 invoked by uid 500); 3 Jan 2008 01:33:55 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 68382 invoked by uid 99); 3 Jan 2008 01:33:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 17:33:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Thu, 03 Jan 2008 01:33:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0120471422C for ; Wed, 2 Jan 2008 17:33:33 -0800 (PST) Message-ID: <18202609.1199324013992.JavaMail.jira@brutus> Date: Wed, 2 Jan 2008 17:33:33 -0800 (PST) From: =?utf-8?Q?J=C3=B6rg_Heinicke_=28JIRA=29?= To: dev@cocoon.apache.org Subject: [jira] Commented: (COCOON-2155) Failing test cases due to additional attributes from namespace declarations in a DOM from parser, but not from serializer In-Reply-To: <254739.1198696723244.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON-2155?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D125= 55463#action_12555463 ]=20 J=C3=B6rg Heinicke commented on COCOON-2155: --------------------------------------- > I'm don't like these superfluous declarations either but my opinion is th= at test-cases should always reflect in every detail behaviour of components= they test. > Current behaviour of tested components is to leave superfluous namespace = declarations and this must be reflected in tests. My point was that it is no error if the component's behavior changes in thi= s regard. But I really don't have a strong opinion on this and I am absolut= ely ok with the way you did it. > Failing test cases due to additional attributes from namespace declaratio= ns in a DOM from parser, but not from serializer > -------------------------------------------------------------------------= ------------------------------------------------ > > Key: COCOON-2155 > URL: https://issues.apache.org/jira/browse/COCOON-2155 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core > Affects Versions: 2.2-dev (Current SVN) > Reporter: Grzegorz Kossakowski > Attachments: COCOON-2155-cocoon-core.patch, COCOON-2155-cocoon-fo= rms-impl.patch, COCOON-2155-cocoon-template-impl.patch, COCOON-2155-parent-= pom.patch > > > Quoting Joerg: > "Just an explanation: A namespace declaration is not an attribute (even= =20 > if it looks so) and that's why it should not end as such. The DOM=20 > produced by Cocoon is absolutely correct, the one by parsing expected=20 > document in the test case is not since it has both the namespace=20 > declaration AND an attribute xmlns:fi - which broke our test." > (http://article.gmane.org/gmane.text.xml.cocoon.devel/75975) > Also see this: http://article.gmane.org/gmane.text.xml.cocoon.devel/75974 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.