- From: <peasthope@shaw.ca>
- Date: Fri, 12 Nov 2010 09:03:40 -0700
- To: www-validator@w3.org
- Cc: peasthope@shaw.ca
Folk,
The following short text demonstrates my problem more clearly than the
example cited a few weeks back. Can anyone tell me why the validator
asserts "Namespace prefix svg on desc is not defined"? Recommendations
for repair?
Thanks, ... Peter E.
<?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"
[
<!ENTITY SVGglobals "<svg:desc>Product diagrams</svg:desc>">
]
>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Category 2</title>
<meta name="description" content="Category 2" />
</head>
<body>
<!-- This appears necessary to instantiate the SVGglobals. Is there a better way? -->
<svg:svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
height="0"
>
<svg:defs> &SVGglobals; </svg:defs>
</svg:svg>
</body>
</html>
--
Telephone 1 360 450 2132. 7785886232 is gone.
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .
Received on Friday, 12 November 2010 17:11:02 UTC