Bug 357 - Main web page in GMapFactory not HTML-compliant
: Main web page in GMapFactory not HTML-compliant
Status: NEW
: MapLab
Preview
: 2.0
: All All
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-04-19 05:32 by
Modified: 2004-04-19 05:32 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-04-19 05:32:21
When one creates a web application using GMapFactory the main phtml file is not 
totally compliant with the latest HTML specifications (HTML 4.01)

Aside from many minor details, I noticed this issue: the main form is opened 
with this tag:

<form name="main">

However, the 4.01 specs for HTML (and the 4.0 ones before them) say that the 
action attribute is *required*.
Older specs (3.2 and 2.0) declared it as optional, and it defaulted to the same 
URL of the file containing it, but starting from 4.0 it is required.

For this reason, GMapFactory-generated files should add the action attribute in 
all FORM tags.

It is not a trivial quirk.
While MS Internet Explorer 6 will gladly accept a FORM tag without the action 
attribute, this is not true of all browsers.

For example, we tried browsing a GMapFactory application with a Compaq iPAQ 
3870 palmtop which has a version of IE identifying itself as 3.02; this version 
of IE has problems with a form tag without the action attribute (it will use a 
strange default)

It shouldn't be too difficult for GMapFactory to generate correctly the FORM 
tag in the main phtml file; MapEdit already does it.

(I hope I selected the right component for GMapFactory-related issues..)