From xemacs-m  Fri Apr 11 09:55:14 1997
Received: from steadfast.teradyne.com (steadfast.teradyne.com [131.101.1.200])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA09425
	for <xemacs-beta@xemacs.org>; Fri, 11 Apr 1997 09:55:12 -0500 (CDT)
Received: from engine.ecf.teradyne.com (engine.ecf.teradyne.com [131.101.192.6]) by steadfast.teradyne.com (8.7.1/8.7.1) with ESMTP id KAA28005 for <xemacs-beta@xemacs.org>; Fri, 11 Apr 1997 10:58:45 -0400 (EDT)
Received: from midnight.eng.ecf.teradyne.com (midnight.ecf.teradyne.com [131.101.192.49]) by engine.ecf.teradyne.com (8.7.1/8.7.1) with SMTP id QAA01145; Fri, 11 Apr 1997 16:54:33 +0200 (MET DST)
Received: by midnight.eng.ecf.teradyne.com (SMI-8.6/SMI-SVR4)
	id QAA10413; Fri, 11 Apr 1997 16:54:33 +0200
Sender: aichner@ecf.teradyne.com
Cc: XEmacs Beta Mailing List <xemacs-beta@xemacs.org>
Newsgroups: comp.infosystems.www.authoring.html
Subject: DTD HTML 3.2 Problem with Forms?
X-Face: 4[iHdXiTu\V3u[~\I)<f9HC);%~nG8`oUqv#uzvs6=\V{AjN6Sn
 c/qi;YLwRmEbt8Y*=j5n(urqY@chPh@J'D"QlqD!C8>*}#kYF[-tYl3VZga/HSOP|K,{L
 Rtu@f0y/=O&Cu}\:~d|P$JON?pn?j,&CnPb1z#/TL9bkAJwyol&a:SvYj-VYbM=Dtxhk9
 =w|R6U3_;SH&B<Mfy6Q%#
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=ISO-8859-1
From: Adrian Aichner <aichner@ecf.teradyne.com>
Date: 11 Apr 1997 16:54:27 +0200
Message-ID: <rxsafn5y5i3.fsf@midnight.ecf.teradyne.com>
Lines: 77
X-Newsreader: Gnus v5.4.40/XEmacs 20.1(beta12)
Posted-To: comp.infosystems.www.authoring.html
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by xemacs.org id JAA09426

The following message is a courtesy copy of an article
that has been posted to comp.infosystems.www.authoring.html as well.


Hello Everybody!

I hope some HTML 3.2 DTD guru can shed light on this.

HTML checking the below fragment with
emacs-version
"20.1 XEmacs Lucid (beta12)"
psgml-version
"1.0.1"
will lead to the following lossage:

End-tag form does not end any open element; ignored
Parsing...
Parsing prolog...done
Parsing doctype...done
Loading psgml-dtd...done
Loading psgml-dtd...
Reading compiled DTD...
Loading /usr/local/xemacs-20.1-b12/etc/sgml/ECAT ... done
Loading /usr/local/xemacs-20.1-b12/etc/sgml/ECAT ...
Loading /usr/local/xemacs-20.1-b12/etc/sgml/CATALOG ... done
Loading /usr/local/xemacs-20.1-b12/etc/sgml/CATALOG ...
Parsing doctype...
Parsing prolog...
Loading psgml-edit...done
Loading psgml-edit...

============================================================================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML><HEAD><TITLE>DTD HTML 3.2 Problem?</TITLE>
  </HEAD>
  <BODY>
    <FORM METHOD="POST" ENCTYPE=application/x-www-form-urlencoded >
      <INPUT TYPE="checkbox" NAME="type" VALUE="input-output">input-outut
    </FORM>
    <FORM METHOD="POST" ENCTYPE=application/x-www-form-urlencoded >
      <INPUT TYPE="checkbox" NAME="type" VALUE="input/output">input/outut
  </FORM>
  </BODY>
</HTML>
============================================================================

It turns out that the slash in input/output get interpreted as an empty 
end-tag.

Is this a problem with the DTD for HTML 3.2?

I can see no reason why the following fragment:
VALUE="input/output">input/outut
should not be legal HTML 3.2 in the test-case above.

The first <FORM>...</FORM> is used to demonstrate that such a form is
legal in HTML 3.2.

Any ideas?

Thanks,

Adrian


-- 
                            Adrian Aichner
                        Applications Engineer
  Teradyne GmbH
  Semiconductor Test Group    Telephone +49/89/41861(0)-208
  Dingolfinger Strae 2       Fax       +49/89/41861-217
  D-81673 MNCHEN             E-mail    aichner@ecf.teradyne.com

