cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <g...@tuffmail.com>
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 Wed, 26 Dec 2007 19:09:16 GMT
Joerg Heinicke pisze:
> 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?

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?

-- 
Grzegorz Kossakowski

Mime
View raw message