Hi,

Reviewing tests I saw that in test
ExtractXPathWithNamespaceTest.testXPathWithNamespaceDifferentNamespace "foo"
is compared with 0 but I think when namespaces are different then xpath
should return null.

ObjectConverter.toInteger should return null for Double.NaN becouse 0 is the
same number as the other. I see no reasonable explanation for returning 0.

I've created patch for that if there are no contraindications.
http://pastebin.com/JUq4vYi0
http://pastebin.com/80qhjQcD

--
View this message in context: 
http://camel.465427.n5.nabble.com/ObjectConverter-problem-tp5517376p5517376.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to