Code Duplication    Length = 8-8 lines in 2 locations

src/RSSFeed/simplepie/simplepie_1.3.1.mini.php 2 locations

@@ 11772-11779 (lines=8) @@
11769
                switch ($xml->nodeType)
11770
                {
11771
                    case constant('XMLReader::END_ELEMENT'):
11772
                        if ($xml->namespaceURI !== '')
11773
                        {
11774
                            $tagName = $xml->namespaceURI . $this->separator . $xml->localName;
11775
                        }
11776
                        else
11777
                        {
11778
                            $tagName = $xml->localName;
11779
                        }
11780
                        $this->tag_close(null, $tagName);
11781
                        break;
11782
                    case constant('XMLReader::ELEMENT'):
@@ 11784-11791 (lines=8) @@
11781
                        break;
11782
                    case constant('XMLReader::ELEMENT'):
11783
                        $empty = $xml->isEmptyElement;
11784
                        if ($xml->namespaceURI !== '')
11785
                        {
11786
                            $tagName = $xml->namespaceURI . $this->separator . $xml->localName;
11787
                        }
11788
                        else
11789
                        {
11790
                            $tagName = $xml->localName;
11791
                        }
11792
                        $attributes = array();
11793
                        while ($xml->moveToNextAttribute())
11794
                        {