Re: even empty Xhtml/SVG document won't validate

Thanks david,

That did the trick. When I can't figure something out I strip out every
possible cause. Unfortunately that isn't allowed with this doctype :-).
I got my document now running, but I have another issue now: For it to
validate and to display anything, I need to prefix svg for every tag. It's
silly overhead. Is there a way I can rewrite my text?
Here is a snippet of the famous lion;
[code]
<?xml version="1.0" standalone="no"?>
<!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">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg">
<head>
<title>test</title>
<style type="text/css">
<![CDATA[

 ]]>
</style>
</head>
<body>

<div>
<svg:svg xmlns:z="http://www.w3.org/2000/svg"
width="242" height="384">
<svg:g style="fill: #f2cc99" >
   <svg:path d="M
69,18L82,8L99,3L118,5L135,12L149,21L156,13L165,9L177,13L183,28
 L180,50L164,91L155,107L154,114L151,121L141,127L139,136L155,206
 L157,251L126,342L133,357L128,376L83,376L75,368L67,350L61,350
 L53,369L4,369L2,361L5,354L12,342L16,321L4,257L4,244L7,218L9,179
 L26,127L43,93L32,77L30,70L24,67L16,49L17,35L18,23L30,12L40,7L53,7
 L62,12L69,18L69,18L69,18"/>
</svg:g>
</svg:svg>
</div>
<p>Because you're a lion</p>
</body>
</html>
[/code]

Received on Friday, 9 May 2008 12:53:49 UTC