W3C home > Mailing lists > Public > www-validator@w3.org > April 2003

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

From: <form@milkchest.com>
Date: Fri, 18 Apr 2003 23:31:21 +0900
To: www-validator mailing list <www-validator@w3.org>
Message-ID: <JV20030418233121.11531625@milkchest.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:08 GMT