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

Re: Validation of XHTML with other namespaces

From: Bryce Nesbitt <bryce1@obviously.com>
Date: Fri, 11 Nov 2005 09:05:37 -0800
Message-ID: <4374CF61.9010204@obviously.com>
To: www-validator@w3.org


> >Vladimir Volkov wrote:
> >Could you please give me a citation from XHTML recommendation where it
> >is said that use of other namespaces (the way it is specified in XML
> >recommendations) is prohibited?
>
> Björn Höhrmann wrote:
> Section 3.1 of http://www.w3.org/TR/xhtml1/ for example.

But the "correct" example from section 3.1.2, it still does not validate
in the w3c validator:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>A Math Example</title>
  </head>
  <body>
    <p>The following is MathML markup:</p>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply> <log/>
        <logbase>
          <cn> 3 </cn>
        </logbase>
        <ci> x </ci>
      </apply>
    </math>
  </body>
</html>

I'm trying to get a document that uses Microsoft VML to validate, very
similar to the Google Maps
API example at http://www.google.com/apis/maps/documentation/simple.html

<!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:v="urn:schemas-microsoft-com:vml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <title>Google Maps API Example - simple</title>

How can we validate documents that specify a namespace?  Or, how can we
rewrite these pages so the W3C validator will handle them?
Received on Friday, 11 November 2005 17:05:39 GMT

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