此示例代码不会通过 w3c 验证器。
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foo="http://foo.com/fooxml">
<head>
<title>Foo</title>
</head>
<body>
<foo:TabControl>
</foo:TabControl>
</body>
</html>
我错过了什么?我需要做什么才能使命名空间工作并通过验证?