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

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"?>
	"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"

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.
  "3.1.  XHTML as the Host Language"

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

My test files are available here.
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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:02 UTC