W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2006

Amaya not catching an invalid structure

From: <ve3ll@rac.ca>
Date: Sun, 14 May 2006 13:10:52 -0400
To: www-amaya@w3.org
Message-ID: <44672C5C.24388.BFD8D9@ve3ll.rac.ca>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:36 UTC