[[ Bug 12936 ]] Fix partial string to number conversion; fix callback pa...

...rsing