Revision ef25a754

View differences:

src/datastore_mad/remotes/xpath.rb
66 66
        element = xml.elements[xpath.dup]
67 67
        if !element.nil?
68 68
            if element.class.method_defined?(:text)
69
                values << element.text
69
                values << ( element.text || '' )
70 70
            else
71
                values << element.to_s
71
                values << ( element.to_s || '' )
72 72
            end
73 73
        end
74 74
    end

Also available in: Unified diff