SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-316
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Uri
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Compass

Custom converters are not picked up in spring namepace based configuration

Created: 08/Nov/06 06:34 PM   Updated: 08/Nov/06 06:50 PM
Component/s: Compass::Core, Compass::Spring
Affects Version/s: 1.1 M3
Fix Version/s: 1.1 M3


 Description  « Hide
When using spring namespaces to configure compass, custom converters are not picked up. The reason for that is actually in the SchemConfigurationBuilder that the namespace handler uses under the hood. The bindConverters(...) method in the builder uses "DomUtils.getChildElementsByTagName(ele, "converter")" to retrieve all converters. This method by default matches the node name but the matching should be done on the local name, that is, it should use "DomUtils.getChildElementsByTagName(ele, "converter", true)" method instead.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 08/Nov/06 06:50 PM
Thanks for the great analysis of the bug. Allowed me to fix it this quick .