Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0rc1, trunk
-
Component/s: mapbuilder-lib
-
Labels:None
-
Number of attachments :
Description
SourceForge ID: 1294608
Submitted by: sgillies
Submitted Date: 2005-09-18 08:46
Assigned To: Nobody/Anonymous
Prio: 5 Minor
Summary: MapPane HTML 4.01 and XHTML compatibility
The MapPane widget is not compatible with 4.01 or
XHTML1. Here's an excerpt of a recent list thread:
The doctype is the required declaration at the
beginning of an XHTML page.
It informs the browser what version of (X)HTML you're
using, and hence how
it should be validated and what DOM should be applied.
For a somewhat old
but useful reference, see:
http://www.alistapart.com/articles/doctype/
A snippet from that article:
"A recent DOCTYPE that includes a full URI (a complete
web address) tells
these browsers to render your page in
standards-compliant mode, treating
your (X)HTML, CSS, and DOM as you expect them to be
treated.
Using an incomplete or outdated DOCTYPE-or no DOCTYPE
at all-throws these
same browsers into "Quirks" mode, where the browser
assumes you've written
old-fashioned, invalid markup and code per the
depressing industry norms of
the late 1990s."
The doctype declarations in our demos, e.g.,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
invoke such "quirks" modes--that is, proprietary DOMs.
We've done this because Mapbuilder fails with a proper
XHTML doctype
declaration.
Mike noted Mapbuilder's doctype limitations here:
http://geoservices.cgdi.ca/mapbuilder/userGuide?page=start/troubleshoot
So far as I know, this is still accurate.
The problem? Basically, some (not fully identified)
parts of our code
aren't compliant with XHTML validation or DOM. What I
believe Sean is
suggesting is just that we focus on identifying and
fixing the sources of
XHTML validation/DOM errors, so that we can develop
with XHTML doctype
support. (Is that right, Sean? Please clarify if not!)
Another addition to the list of possible issues:
non-standard methods, e.g.,
innerHTML (used in our code, and also in external
libraries, e.g.,
wz_jsgraphics).
camerons
https://sourceforge.net/tracker/index.php?func=detail&aid=1323222&group_id=35246&atid=413775
has been closed referencing this bug.