1--TEST--
2Serialize default and prefixed xmlns on elements
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$dom = Dom\XMLDocument::createFromString(<<<XML
9<?xml version="1.0" encoding="UTF-8"?>
10<root>
11    <a:child xmlns:a="urn:a" xmlns="urn:default">
12        <default/>
13    </a:child>
14</root>
15XML);
16
17echo $dom->saveXml();
18
19?>
20--EXPECT--
21<?xml version="1.0" encoding="UTF-8"?>
22<root>
23    <a:child xmlns:a="urn:a" xmlns="urn:default">
24        <default/>
25    </a:child>
26</root>
27