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
|