[Maplab-dev] [Bug 357] New: Main web page in GMapFactory not HTML-compliant

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Mon Apr 19 05:32:23 EDT 2004


           Summary: Main web page in GMapFactory not HTML-compliant
           Product: MapLab
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Preview
        AssignedTo: maplab-dev at lists.maptools.org
        ReportedBy: gino-maptools at lucrezi.net

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..)

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Maplab-dev mailing list