W3C home > Mailing lists > Public > www-validator@w3.org > October 2005

Validation of XHTML with other namespaces

From: Vladimir Volkov <vlad.volkov@gmail.com>
Date: Tue, 18 Oct 2005 01:34:02 +0400
Message-ID: <001f01c5d362$87a2db20$0200a8c0@Vlad>
To: <www-validator@w3.org>

Hello!

It seems that W3C HTML validator incorrectly treats use of other namespaces 
in HTML document.

For example the following document seems to be valid:
=========Beginning of the citation==============
<?xml version="1.0"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns:met="http://xml.zope.org/namespaces/metal">
<head>
<title>HW</title>
<style met:use-macro="template.html#style" type="text/css"></style>
</head>
<body>
<p>Hello world</p>
</body>
</html>
=========The end of the citation================

But the validator does not understand attributes 'xmlns:met' and 
'met:use-macro', though it recognizes the use of namespace '.../metal'.

Is there any workaround, except using some other validator? If another 
validator is needed, could you recommend one?

--
        Vladimir Volkov, at your service 
Received on Tuesday, 18 October 2005 01:44:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:20 GMT