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

Validator response about namespace.

From: <peasthope@shaw.ca>
Date: Sat, 23 Oct 2010 09:49:10 -0700
Message-ID: <171056663.40010.34467@cantor.invalid>
To: www-validator@w3.org
Cc: peasthope@shaw.ca
Folk,

I wonder whether my code is wrong and an example on the W3 site 
is obsolete or whether the W3C validator has a fault.

These are the first four lines of a test file.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC
	"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
	"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd"

http://validator.w3.org/ yields the text between the " marks.
"Validation Output: 91 Errors

   1. Error Line 2, Column 10: Namespace prefix svg on desc is not defined

      <!DOCTYPE html PUBLIC" ...

My four lines above are almost identical to the first four lines in this example.
http://www.w3.org/TR/XHTMLplusMathMLplusSVG/#howto-xhtml
  "3.1.  XHTML as the Host Language"

Is this a fault in the validator?  Is the example obsolete?

My test files are available here.
  http://carnot.yi.org/Category2.xhtml
  http://carnot.yi.org/Category2.html
The first is the failing case; the second passes with no errors.

Thanks for any ideas,             ... Peter E.

-- 
Telephone 1 360 450 2132.  7785886232 is gone.
Shop pages http://carnot.yi.org/ accessible as long as the old 
drives survive; installation of NetBSD on new drives pending.
Personal pages, http://members.shaw.ca/peasthope/ .
Received on Tuesday, 26 October 2010 19:36:40 GMT

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