Default namespace testcase

The instance has a specified namespace and an empty default one. The XHTML document has the XHTML namespace as the default one. When submitted, the instance has the XHTML namespace as the default one.

The W3C says:

The scope of a default namespace declaration extends from the beginning of the start-tag in which it appears to the end of the corresponding end-tag, excluding the scope of any inner default namespace declarations. In the case of an empty tag, the scope is the tag itself.

Submit