(X)HTML standards

Author Message

Jozef Baum

Thursday 04 February 2010 4:30:07 pm

(X)HTML is definitely not rocket science.

One day, Marc Andreessen, with the Netscape browser, had the bad idea to tremendously extend the browser's software, so that it could eat almost whatever badly coded HTML.

Microsoft has even gone much further with its Internet Explorer: it renders most incorrect (X)HTML correctly, while poorly interpreting correctly written (X)HTML (the link element from HTML 1.0 is still missing) and CSS (see the many IE-hacks in a framework such as www.yaml.de).

The W3C has done bad work. HTML 2.0 lagged behind the reality at that time, and so did HTML 3.0. HTML 3.2 was an accident, as it tried to include formatting attributes into HTML, for wich this language was not meant. XHTML 2.0 was an error, and therefore replaced by HTML and XHTML 5.

eZ Publish goes for XHTML 1.0 Transitional, which allows for all the deprecated tags and attributes in previous HTML versions. For a new website, you shoud use XHTML 1.0 Strict, not XHTML 1.0 Transitional.

But even then, with validome.org, the home page of eZ Publish still doesn't validate with XHTML Transitional.

This rises the question about how serious eZ Systems is about web standards, knowing that they become increasingly important, due to the multiplication of the user agents. I feel this does not show any commitment from the side of eZ Systems to the web standards.

A very much lower scaled CMS, TYPOlight, offers the user the choice between XHTML Strict and Transitional. And if you choose for XHTML 1.0 Strict, it really generates XHMTL 1.0 Strict compliant web pages.

To me, it is strange that website developers, who can write 100% correct programs in PHP and JavaScript (as otherwise, they just don't work), don't care about writing standard conform (X)HTML.

This goes very far.

For example, look at the source code of www.nationalgeographics.fr, which eZ Systems mentions as one of it references: the page even doesn't have a DOCTYPE declaration.

Many people tell me that they are not concerned about (X)HTML standards, but only about the final look of their webpages in various browsers.

Do you feel this is a sane attitude? Or do you feel, we should first of all conform to the (X)HTML standards, and only then adopt our web pages to the way we want them to show up in each browser?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:01:05
Script start
Timing: Jan 18 2025 05:01:05
Module start 'layout'
Timing: Jan 18 2025 05:01:05
Module start 'content'
Timing: Jan 18 2025 05:01:06
Module end 'content'
Timing: Jan 18 2025 05:01:06
Script end

Main resources:

Total runtime1.1301 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0149 587.7891152.6094
Module start 'layout' 0.01490.0041 740.398439.4063
Module start 'content' 0.01901.1095 779.8047406.5469
Module end 'content' 1.12850.0015 1,186.35168.1953
Script end 1.1300  1,194.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3106160.0002
Check MTime0.00140.1233160.0001
Mysql Total
Database connection0.00810.713110.0081
Mysqli_queries1.076395.2457460.0234
Looping result0.00050.0414440.0000
Template Total1.076795.320.5383
Template load0.00230.200620.0011
Template processing1.074495.075020.5372
Template load and register function0.00020.018910.0002
states
state_id_array0.00110.096410.0011
state_identifier_array0.00130.115720.0007
Override
Cache load0.00190.1639160.0001
Sytem overhead
Fetch class attribute can translate value0.00100.084510.0010
Fetch class attribute name0.00100.086510.0010
XML
Image XML parsing0.00010.010010.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00230.2042100.0002
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs