'Whitespace in an xmlns value is preserved in the resulting node\'s C{uri}
attribute.'

def test_namespaceWithWhitespace(self):

    xml = "<root    xmlns:foo='    bar    baz    '><foo:bar    foo:baz='quux'/></root>"
    self.stream.parse(xml)
    self.assertEqual(self.elements[0].uri, '    bar    baz    ')
    self.assertEqual(self.elements[0].attributes, {('    bar    baz    ', 'baz'): 'quux'})
