--TEST-- DOM-Parsing GH-47 (XML null namespaces need to be preserved) --EXTENSIONS-- dom --FILE-- Smith Joe Jones John XML); echo $document->saveXml(), "\n"; $people = $document->getElementsByTagNameNS(null, 'people')->item(0); echo $document->saveXml($people), "\n"; ?> --EXPECT-- Smith Joe Jones John Smith Joe Jones John