Forums / General / (X)HTML standards

(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?

eZ debug

Timing: Jan 18 2025 02:50:50
Script start
Timing: Jan 18 2025 02:50:50
Module start 'content'
Timing: Jan 18 2025 02:50:51
Module end 'content'
Timing: Jan 18 2025 02:50:51
Script end

Main resources:

Total runtime0.6266 sec
Peak memory usage4,096.0000 KB
Database Queries183

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.5859180.8516
Module start 'content' 0.00640.5145 768.4375411.6094
Module end 'content' 0.52090.1057 1,180.0469333.8125
Script end 0.6266  1,513.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5865210.0002
Check MTime0.00140.2198210.0001
Mysql Total
Database connection0.00120.187210.0012
Mysqli_queries0.570691.06111830.0031
Looping result0.00150.24511810.0000
Template Total0.602596.120.3012
Template load0.00240.377920.0012
Template processing0.600195.765520.3001
Template load and register function0.00020.039610.0002
states
state_id_array0.00070.104210.0007
state_identifier_array0.00060.095820.0003
Override
Cache load0.00180.2930160.0001
Sytem overhead
Fetch class attribute can translate value0.00130.203620.0006
Fetch class attribute name0.00050.080810.0005
XML
Image XML parsing0.00040.069920.0002
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00170.2758210.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs