- From: Frederic G. MARAND <fgm@osinet.fr>
- Date: Sat, 12 Jan 2002 19:20:04 +0100
- To: <www-amaya@w3.org>
Hello,
I'm trying to generate compound documents (XHTML 1.1 with additional namespaces)
with Amaya (5.3) and find I cannot get them to validate.
For example, here is a minimal document built in Amaya. However, it does not
validate on validator.w3.org, refusing the <svg xmlns ...> element. I found that
removing the DOCTYPE allows XML-level validation, but then it is no longer XHTML, is
it ?
How is one supposed to work around this issue ? XHTML is supposed to allow compound
documents, as specified in
http://www.w3.org/TR/1999/xhtml-modularization-19990406/extending.html#sec_7.7.3.
but I can't seem to find how to do this, with or without Amaya: the XHTML doctype
says the namespace for HTML is "FIXED", thereby not allowing additional namespaces.
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.1//EN""http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Test SVG dans XHTML</title>
<meta name="generator" content="amaya 5.3, see http://www.w3.org/Amaya/" />
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg" height="314px">
<rect stroke="black" fill="none" y="47px" x="35px" width="446px"
height="267px"/>
<switch>
<foreignObject width="100px" y="69px" x="75px">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Areuhwag</p>
</div>
</foreignObject>
</switch>
</svg>
<p>
<a
href="http://validator.w3.org/check?uri=http://193.252.179.31/code/xml/svg1.html">
<img alt="Is this valid XHTML ?" src="http://www.w3.org/Icons/valid-xhtml10"
/>
</a>
</p>
</body>
</html>
Received on Saturday, 12 January 2002 13:20:12 UTC