Re: Form Element Content in ISO/IEC 15445:2000(ISO-HTML)

Hello, everyone.

Probably, it is a logic error of the W3C MarkUp Validation Service.

Please check these two HTML documents with the Service.


<!DOCTYPE html PUBLIC "ISO/IEC 15445:2000//DTD HyperText Markup Language//EN">
<html dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FORM</title>
</head>
<body>
<h1>Submit Your E-mail Address</h1>
<form action="mailto:www-validator-css@w3.org" method="post">
<p><input type="submit" value="Submit my E-mail address!"></p>
</form>
</body>
</html>


<!DOCTYPE html PUBLIC "ISO/IEC 15445:2000//DTD HyperText Markup Language//EN">
<html dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FORM</title>
</head>
<body>
<h1>Submit Your E-mail Address</h1>
<form action="mailto:www-validator-css@w3.org" method="post">
<input type="submit" value="Submit my E-mail address!">
</form>
</body>
</html>


The service says to the former document:

> This page is not Valid ISO/IEC 15445:2000 (ISO-HTML)!
> Below are the results of attempting to parse this document with an SGML parser. 

> Line 10, column 61: end tag for element "P" which is not open (explain...). 
>   ...nput type="submit" value="Submit my E-mail address!"></p>
                                                             ^

and to the latter one:

> This Page Is Valid ISO/IEC 15445:2000 (ISO-HTML)!

However, this results are wrong.
In fact, the former one complies with DTD, and the ratter one does not.

I think this Validation Service mistake the input element in ISO-HTML for that
not could be content of p element.

Then, this Service regards
<p><input></p>
as
<p></p><input></p>
.

But it is wrong, according to DTD, input element is able to be content of
p element.
ftp://ftp.cs.tcd.ie/isohtml/15445.dtd

Please help this error to be fixed as soon as possible.

Thank you.

Received on Friday, 18 April 2003 11:42:21 UTC