Amaya not catching an invalid structure

One of my favorite uses of Amaya is to check handcoded 
documents for xhtml validity.... normally this works well.
but i just noticed that it doesn't trap a span element that
is not correctly nested by a block element....  can this be
trapped ?????

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head><title>SpanTest: VE3LL@RAC.CA</title>
<style type="text/css">span{color:red}</style></head>
<body>
<h2>Dynamic Tables - Row Insertion</h2>
<p>Tables should never use innerHTML as a building mechanism although
it can be used to add or change content. DOM provides appropriate
standardized methods that insure inserted html is valid.</p>
<span>Note: This topic is under development - Stay tuned!</span>
</body></html>
-- 
-- 
John Russell, VE3LL@RAC.CA
http://home.cogeco.ca/~ve3ll
http://home.cogeco.ca/~trains
http://home.cogeco.ca/~cipher

Received on Sunday, 14 May 2006 17:11:12 UTC