cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
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
Date Fri, 23 Nov 2007 03:54:25 GMT
On 22.11.2007 22:49 Uhr, joerg@apache.org wrote:
> Author: joerg
> Date: Thu Nov 22 19:49:58 2007
> New Revision: 597535
> 
> 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?

Joerg

Mime
View raw message