473,804 Members | 3,277 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How important is validation?

I have a web site that, due to maintenance by several people, some of whom are
fairly clueless about HTML and CSS, etc. (notably me), has gotten to the point
where I'm pretty sure it's suffering from bit rot. Though the pages seem to
display okay under IE and FF, I really think it's time for an under-the-hood
cleaning. I recently received a copy of Molly Holzschlag's "Spring Into HTML
and CSS," and in the first chapter, she makes a big deal of producing pages
that validate cleanly. However, she doesn't explain why this is important,
e.g., doesn't say what the consequences of validation failure are.

I went to http://validator.w3.org/ and was unsurprised to see my home page
fail to validate. But then I got to playing around, and I found that the home
pages for none of the following validate, either: yahoo, ebay, google, artima,
and cnn. This makes me wonder whether validation is really something I need
to worry about. Morally, I'm all for standards, and given a choice between
pages that validate and those that do not, I'd choose validation, but I'm
going to have to find somebody else to do the work for me (somebody who DOES
know about HTML and CSS, etc.), and I'm worried that finding somebody who is
familiar with validation is going to be a lot harder and/or more expensive
than finding somebody who is not.

Can somebody please explain to me what the practical advantages of having
pages validate are? Also, I'm open to suggestions on who to consider hiring
to do the work at my site (which happens to be aristeia.com).

Thanks,

Scott
Aug 13 '05
67 5360
In our last episode,
<11************ *@corp.supernew s.com>,
the lovely and talented Guy Macon
broadcast on comp.infosystem s.www.authoring.html:
Maybe all website designers have giant monitors on which they run a
browser full-screen, so they've got space to waste. I always have
multiple windows open, and never have enough screen real-estate
available


So why don't you increase the size of your desktop? I find a
3x3 is more than adequate: that's two full screen browsers, a
word processor, a text edior, a couple of screens for graphic
work, a terminal, a screen full of control-panel type junk, and
one left over. It is also convenient to jump around with a mod
key and the key pad, which conveniently has an intuitive
relationship to a 3x3 layout.

--
Lars Eighner ei*****@io.com http://www.larseighner.com/
I don't see posts from or threads started from googlegroups.
"We have no opinion on your Arab - Arab conflicts, such as your dispute with
Kuwait." -- Bush's Ambassador April Glaspie, giving Saddam Hussein
the greenlight to invade Kuwait.
Aug 15 '05 #31
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote:
As much as I support validating, to claim that validation ensures
cross browser compatibility and/or can replace testing in various
browsers is nonsense.
While the word "ensures" there is clearly a hopeless exaggeration,


I hope you are attributing the exaggeration to David Ross.
validation can nevertheless reveal errors which would be fixed-up in
different ways by different browsers. Correcting those errors is no
less optional than correcting spelling mistakes in a decently-produced
web page.


Spelling errors are revealed to all users 100% of the time, validation
errors are often both invisible and of no consequence to most visitors.

Comparing natural language syntax with markup and/or styling language
syntax makes no sense and can only muddy an already poorly understood
aspect of web authoring.

--
Spartanicus
Aug 15 '05 #32
On Mon, 15 Aug 2005, Lars Eighner wrote:
So why don't you increase the size of your desktop? I find a
3x3 is more than adequate:


I typically want to see two or more windows that I'm currently working
on alongside each other - not to merely have the option to switch
between them.

The remaining windows can indeed be hidden from view for the time
being - either behind the several currently active windows, or
minimised, or on another logical screen - but that's a different
matter.

Anyway, this isn't really the point. As an author, it's our job to
produce web pages that are useful and convenient for our *readers*.

Hassling each other here (most of us are presumably here because we
regard ourselves as web *authors*) to use our own displays in
different ways doesn't really address that important principle of
authoring for our users.

best regards.
Aug 15 '05 #33
On Mon, 15 Aug 2005, Spartanicus wrote:
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote:
As much as I support validating, to claim that validation ensures
cross browser compatibility and/or can replace testing in various
browsers is nonsense.
While the word "ensures" there is clearly a hopeless exaggeration,


I hope you are attributing the exaggeration to David Ross.


I'm sorry - I thought my meaning was evident from the context.
validation can nevertheless reveal errors which would be fixed-up
in different ways by different browsers. Correcting those errors
is no less optional than correcting spelling mistakes in a
decently-produced web page.


[...] Comparing natural language syntax with markup and/or styling
language syntax makes no sense
Was I comparing them? I was trying to say that both can contribute to
a quality web page.
and can only muddy an already poorly understood aspect of web
authoring.


I say that both are aspects of quality control in publishing a web
page. I did not mean to imply that the two things are equivalent in
principle. I stand by my original assertion that both can and should
be non-optional quality control features of a web publishing process.

I'm not, of course, suggesting that correctness of either, or even
both, of them is a complete QA programme! Markup can be syntactically
correct while being semantically nonsense; spell checking can pass the
wrong word if the wrong word is spelled correctly. But both
procedures stand a chance of picking up inadvertent errors which would
be better corrected. And potentially much more effective as a QA
procedure than merely reviewing the completed page on one or a few
browsers. Sadly, the browser review is also a necessary chore
(particularly with MSIE, which rules itself out in various ways as a
web-compatible browser), but I still say that the formal syntax check
is a valuable and IMHO non-optional part of QA in the web publishing
process.

all the best
Aug 15 '05 #34
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote:
>validation can nevertheless reveal errors which would be fixed-up
>in different ways by different browsers. Correcting those errors
>is no less optional than correcting spelling mistakes in a
>decently-produced web page.

[...]
Comparing natural language syntax with markup and/or styling
language syntax makes no sense


Was I comparing them?


"Correcting those [validation] errors is no less optional than
correcting spelling mistakes [...]" suggests a comparison of some sorts.
I was trying to say that both can contribute to
a quality web page.
No argument there.
I'm not, of course, suggesting that correctness of either, or even
both, of them is a complete QA programme!


I know.

I'm concerned that albeit with good intentions people are using
incorrect arguments to justify validation. Imo the case for validation
cannot be summed up in a few simple "here's why you should" type rules.
Providing a case depends on many other variables.

Notwithstanding considerations such as voiced by the OP (requiring it
narrowing down the list of people able to do the work), perhaps
reversing the logic is the better approach: there are no good reasons
not to produce valid code [1].

[1] for the sticklers amongst us who think they've detected me
contradicting myself with an earlier post in the thread, note the
"public DTD" qualifier of that earlier post.

--
Spartanicus
Aug 15 '05 #35
On Mon, 15 Aug 2005, Spartanicus wrote:
Was I comparing them?
"Correcting those [validation] errors is no less optional than
correcting spelling mistakes [...]" suggests a comparison of some sorts.


So, if I were to remark that in book publishing, checking of spelling
and of punctuation were both important, would you accuse me of
muddying the vital distinction between spelling and punctuation?
I'm concerned that albeit with good intentions people are using
incorrect arguments to justify validation. Imo the case for
validation cannot be summed up in a few simple "here's why you
should" type rules.
Well, I'm sorry, but from my point of view, markup syntax validation
is a natural part of the QA process for web publishing; I don't feel I
need to justify it, any more than I'd need to justify checking the
spelling of the content, or making a reasonable effort to verify the
facts which I'm going to report on the page.

As I see it, it's the responsibility of anyone who claims that any of
these QA checks are unnecessary, to produce a convincing argument as
to why it's unnecessary, and I haven't yet seen an argument that I
found convincing. Some claimed that they were assembling the web page
automatically from parts that were stored in a database or content
manglement system, but that's no excuse for not having an assembly
process that either guarantees to produce correct markup syntax, or
one that checks the result of the assembly, IMNSHO.
Notwithstanding considerations such as voiced by the OP (requiring
it narrowing down the list of people able to do the work), perhaps
reversing the logic is the better approach: there are no good
reasons not to produce valid code [1].


It looks as if we might be converging on some kind of agreement, in
our different ways ;-)

best regards
Aug 15 '05 #36
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote:
>Was I comparing them?
"Correcting those [validation] errors is no less optional than
correcting spelling mistakes [...]" suggests a comparison of some sorts.


So, if I were to remark that in book publishing, checking of spelling
and of punctuation were both important, would you accuse me of
muddying the vital distinction between spelling and punctuation?


The flaw in your (original) statement lies in the suggestion that both
have a similar effect on the user experience. This, as I pointed out
earlier, is not the case. I see no point in twisting an already
fundamentally flawed comparison between natural and markup/style
languages.

The OP is looking for a "be a good dog, validate and here is your bone"
reasoning and wants to know what bone he's going to get. My argument is
that there may be no bone, or at least that the bone is undefined in the
absence of further data.
It looks as if we might be converging on some kind of agreement, in
our different ways ;-)


Hope springs eternal.

--
Spartanicus
Aug 15 '05 #37
In article <Pi************ *************** ***@ppepc56.ph. gla.ac.uk>,
"Alan J. Flavell" <fl*****@ph.gla .ac.uk> wrote:
I'm not, of course, suggesting that correctness of either, or even
both, of them is a complete QA programme! Markup can be syntactically
correct while being semantically nonsense; spell checking can pass the
wrong word if the wrong word is spelled correctly.


One problem is that markup can validate and still be even
*syntactically* nonsense.

Example:
http://validator.w3.org/check?uri=ht....fi%2Ftest%2Fv
alid-img.html&ss=1

The problem is, of course, that DTDs are inadequate for expressing all
the requirements set forth in the HTML 4.01 spec that should be
machine-checkable.

Petr Nalevka has developed (building on James Clark's work) RELAX NG and
Schematron schemas that express more constraints than the HTML and XHTML
DTDs. His validator is available at http://badame.vse.cz/validator/

However, that validator uses TagSoup for HTML parsing, so some errors
are fixed before validation. I have been working on solving that problem
with HTML5 conformance checking in mind:
http://listserver.dreamhost.com/pipe.../2005-August/0
04536.html

--
Henri Sivonen
hs******@iki.fi
http://hsivonen.iki.fi/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html
Aug 15 '05 #38
Henri Sivonen wrote:
One problem is that markup can validate and still be even
*syntactically* nonsense.


That's a reasonable caveat, but it depends on some nit-picking over
"validate" as meaning "that which an available validator does" rather
than "comply with the specification". The absence of a validator
capable of detecting its errors does not mean that your example is in
any way "valid", or that any reasonable and competent person would
claim it to be so.

Aug 15 '05 #39
JRS: In article <42************ ***@nowhere.not >, dated Sun, 14 Aug 2005
12:32:14, seen in news:comp.infos ystems.www.authoring.html, David Ross
<no****@nowhere .not> posted :

According to one estimate, Internet Explorer (IE) reached a peak
market share of 88.0% of all browsers in March 2003. Since then,
it has declined to 73.5%. Other estimates might show IE still well
above 80% or even 90% of the market, but they all seem to agree
that IE's share is declining.


I doubt whether those are market shares.

A market share should include only browsers that have been chosen for
use, and should omit those that came with the system.

They are more likely to be usage shares; but those are likely to be
affected by the much-used copies of default browsers used in libraries,
which attract low-value users.

--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.c om/faq/> JL/RC: FAQ of news:comp.lang. javascript
<URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Aug 15 '05 #40

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2865
by: bissatch | last post by:
Hi, I am running a w3c CSS validation check on a site in development. I have many errors saying that my CSS is not valid because I have not defined the background-color but instead left it default transparent. Why does it require that every CSS defined element have their background-color defined? Also, when I set styles in the following way:
0
3848
by: shamirza | last post by:
· What is view state and use of it? The current property settings of an ASP.NET page and those of any ASP.NET server controls contained within the page. ASP.NET can detect when a form is requested for the first time versus when the form is posted (sent to the server), which allows you to program accordingly. · What are user controls and custom controls? Custom controls: A control authored by a user or a third-party software vendor that...
0
9708
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10588
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5662
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3827
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.