
| Key: |
CMP-316
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Shay Banon
|
| Reporter: |
Uri
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
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.
|
|
Description
|
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. |
Show » |
|