lewisje / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

getElementsByTagNameNS returning text nodes #513

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Use getElementsByTagNameNS on an SVG element. The method returns text nodes. 

What is the expected output? What do you see instead?
It should not return text nodes.

Please use labels and text to provide additional information.
This can happen because internally it maps the svg namespace to the fake 
namespace and then does not filter out the text node later like it should.

Original issue reported on code.google.com by grick23@gmail.com on 14 Jun 2010 at 12:59

GoogleCodeExporter commented 8 years ago
Fixed in r1185.

Original comment by grick23@gmail.com on 14 Jun 2010 at 1:00