C
C.W.Holeman II
I have an xmlns attribute that produces an XHTML validation error and I
do not understand why it is considered an error.The file displays as
expected on Firefox and IE7.
http://emle.sourceforge.net/emle020100/lab/ng20070625_emle_lab_001-e.xml.html
<?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">
<html dir="ltr" xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg">
<head>
<title>NG 2007-06-25</title>
</head>
<body>
<h1>NG 2007-06-25</h1>
<xhtml xmlns="http://emle.sourceforge.net/emle020100"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
Test
</xhtml>
</body>
</html>
When I run it through the W3C validator it identifies several errors.
http://validator.w3.org/check?uri=h...ctype=Inline&ss=1&outline=1&No200=1&verbose=1
_HTML & XHTML The Definitive Guide_ (6th Edition) by Musciano & Kennedy
section 16.2.2, page 497:
The example with the error is a reduced version of the results produced
by:
http://emle.sourceforge.net/emle020100/lab/ng20070625_emle_lab_001.xml
For more context of what I am working upon see:
http://emle.sourceforge.net/emle020100/ng20070620_context.html
do not understand why it is considered an error.The file displays as
expected on Firefox and IE7.
http://emle.sourceforge.net/emle020100/lab/ng20070625_emle_lab_001-e.xml.html
<?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">
<html dir="ltr" xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:svg="http://www.w3.org/2000/svg">
<head>
<title>NG 2007-06-25</title>
</head>
<body>
<h1>NG 2007-06-25</h1>
<xhtml xmlns="http://emle.sourceforge.net/emle020100"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
Test
</xhtml>
</body>
</html>
When I run it through the W3C validator it identifies several errors.
http://validator.w3.org/check?uri=h...ctype=Inline&ss=1&outline=1&No200=1&verbose=1
> Error Line 13, column 15: there is no attribute "xmlns" .
>
> <xhtml xmlns="http://emle.sourceforge.net/emle020100"
_HTML & XHTML The Definitive Guide_ (6th Edition) by Musciano & Kennedy
section 16.2.2, page 497:
> ...the xmlns attribute... You can place it within the start tag of any
> element within your document...
The example with the error is a reduced version of the results produced
by:
http://emle.sourceforge.net/emle020100/lab/ng20070625_emle_lab_001.xml
For more context of what I am working upon see:
http://emle.sourceforge.net/emle020100/ng20070620_context.html