Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 71203 invoked from network); 26 Dec 2007 19:40:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Dec 2007 19:40:34 -0000 Received: (qmail 28449 invoked by uid 500); 26 Dec 2007 19:40:22 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 28381 invoked by uid 500); 26 Dec 2007 19:40:22 -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 28370 invoked by uid 99); 26 Dec 2007 19:40:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Dec 2007 11:40:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of joerg.heinicke@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 26 Dec 2007 19:40:10 +0000 Received: (qmail invoked by alias); 26 Dec 2007 19:40:02 -0000 Received: from pD9EA2DF8.dip0.t-ipconnect.de (EHLO joerg-heinickes-computer.local) [217.234.45.248] by mail.gmx.net (mp039) with SMTP; 26 Dec 2007 20:40:02 +0100 X-Authenticated: #3483660 X-Provags-ID: V01U2FsdGVkX1+4AZgMmXK4Yfjc+4bn9DrufCe9TN4DJVxzxkf701 OyPN1AGtIHxzgk Message-ID: <4772AE12.2080701@gmx.de> Date: Wed, 26 Dec 2007 20:40:02 +0100 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: svn commit: r597535 - in /cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src: main/java/org/apache/cocoon/forms/datatype/FlowJXPathSelectionList.java test/java/org/apache/cocoon/forms/datatype/FlowJXPathSelectionListTestCase.java References: <20071123034959.E83151A983A@eris.apache.org> <47464EF1.7030208@gmx.de> <4772A6DC.6020104@tuffmail.com> In-Reply-To: <4772A6DC.6020104@tuffmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org On 26.12.2007 20:09 Uhr, Grzegorz Kossakowski wrote: >>> URL: http://svn.apache.org/viewvc?rev=597535&view=rev >>> Log: >>> Fix FlowJXPathSelectionList test-case in a different way: >>> Since it was the test case that's broken, not our code, fix the issue >>> in the test case. >>> >>> Modified: >>> >>> cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/datatype/FlowJXPathSelectionList.java >>> cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/test/java/org/apache/cocoon/forms/datatype/FlowJXPathSelectionListTestCase.java >>> >>> + // FIXME: Why is the namespace declaration available as >>> attribute on the expected document? >>> + // That's the reason why we have to add it to >>> destDocument as well. >>> + destDocument.getDocumentElement().setAttribute("xmlns:" + >>> FormsConstants.INSTANCE_PREFIX, FormsConstants.INSTANCE_NS); >> Does anybody have an idea why the namespace declaration is available as >> attribute on the expected document only after springifing CForms? Is it >> a classpath issue with an old or inappropriate parser version? > > I was hit another time by this issue. Are there any news on this? Or do you have any clue what may > have caused the change of how documents are parsed and why it seems to be only a problem for test cases? I can imagine two possible reasons: 1. Different class path settings so that a different parser library is used, maybe endorsed libs stuff. 2. Options on the DocumentBuilderFactory or the SAXParserFactory. Joerg