473,505 Members | 14,394 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

validation issues

hello

i friend of mine has made this page:
http://home1.stofanet.dk/samtaleterapi/home.htm
it validates like this:
http://validator.w3.org/check?uri=ht...erapi/home.htm

it seems there is something wrong with the head, but i cant figure out what
another page: http://home1.stofanet.dk/samtaleterapi/lolengamock.html that
validates like this
http://validator.w3.org/check?uri=ht...lengamock.html
is based on the same template and thus has an identical head - apart from
having this document only css in the editable region in the head
do you know how to fix it?

the other errors on the first page are imported code from flash
in ist entirity the code for the object reads:

<p>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.ca
b#version=6,0,29,0" width="640" height="70">
<param name="movie"
value="file:///C|/Documents%20and%20Settings/Bruger/Dokumenter/free.swf" />
<param name="quality" value="high" />
<embed
src="file:///C|/Documents%20and%20Settings/Bruger/Dokumenter/free.swf"
width="640" height="70" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash"></embed>
</object>
</p>

i dont know flash myself, but at first glance it makes sense that the movie
doesnt show in the non-local browser
what doesnt make sense is that all the proporties in the <embed></embed>
container seems to be invalid
i suppose the width and the height are superfluous as the object already has
those specifications, but i am at a loss as to quality, pluginspace and type
i also dont understand the last error: that the embed element is undefined
does it make any sense to you?
can it be fixed?

thank you very much
rasmus
Jul 20 '05 #1
2 1602
"Rasmus Marcussen" <ra****@samtaleterapi.com> wrote:
it validates like this:
http://validator.w3.org/check?uri=ht...dk/samtaletera
pi/home.htm
Well, it does _not_ validate, as you describe.
<param name="movie"
value="file:///C|/Documents%20and%20Settings/Bruger/Dokumenter/free.sw
f" />
That's worse than nonsense in WWW terms, though not a validation issue.
file: URLs are not useful on the WWW. The above might get fixed to
something sensible by the authoring software, but if such essentially
internal format is uploaded using other tools, things just don't work.
what doesnt make sense is that all the proporties in the
<embed></embed> container seems to be invalid
They are invalid since the embed element itself is. Admittedly the
validator could do a better job in reporting errors, but most validators
are fairly simple-minded and based on software that was designed to be
used by people who know their SGML.
that the
embed element is undefined does it make any sense to you?
It makes complete sense to me. If it does not make sense to you, then you
simply do not know what validation is. Not surprising, since most people
don't, and none of us was born with such knowledge. For a starter, you
might read my treatise on what validation is and what it is not:
http://www.cs.tut.fi/~jkorpela/html/validation.html
can it be fixed?


Surely. But what do you want?

You could write a customized DTD that permits an EMBED element. Actually
the tagsoup DTD at http://sandbox.bednarz.nl/sgml/dtd/tagsoup.dtd
might suit your needs. Of course, using such a DTD would not make your
document conform better to W3C recommendations; au contraire, the
recommendations tell you _not_ to use any DTD but those issued by the
W3C, or even "call" them in any other way than using the DOCTYPE
incantations approved by the W3C. But you would have a valid (SGML or
XML) document.

You could remove the EMBED element; it only exists as a fallback content.
(Or you could replace it by some other fallback content.)

I don't think there's any browser that implements OBJECT but not EMBED.
So you could remove the OBJECT markup around the EMBED element and ignore
validator's messages about EMBED. The EMBED element is the practical tool
for element embedding, and wrapping it inside OBJECT is just theoretical
and may summon some demons that hide in the bugs of implementation of
OBJECT in browsers. (This could of course be combined with the first
suggestion, using a customized DTD.)

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2
"Rasmus Marcussen" <ra****@samtaleterapi.com> wrote:
hello

i friend of mine has made this page:
http://home1.stofanet.dk/samtaleterapi/home.htm
it validates like this:
http://validator.w3.org/check?uri=ht...erapi/home.htm

it seems there is something wrong with the head, but i cant figure out what


The HEAD element is required to contain a TITLE element. Yours
doesn't, so when the validator finds the closing </head> tag, it tells
you that the element was closed prematurely.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 20 '05 #3

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

Similar topics

4
4121
by: | last post by:
Hi Has anyone any experience using client side validation with asp.net forms. Specifically I'd like to know... 1. How do you attach client side code web controls (a button), like a...
3
2819
by: john morales | last post by:
Hi guys, I have a problem and i know there must be a solution for this as it is such a basic common practice in asp.net development. Scenario: i have many webforms in a site, most with two...
1
14277
by: NancyASAP | last post by:
Thought I'd share this since it took me a long time to get it working. Thanks to a bunch of contributers in Google Groups who shared javascript, etc. The question was: How can I put a reset...
1
1503
by: rmccinc | last post by:
OK, I am running into some issues that I cant figure out a work-around. I am not going to post code cause I figured out WHY my issue is happening: -I have a datagrid, and a button that fires a...
3
6315
by: Bob Alston | last post by:
I have a routine to copy data to new versions of my app via insert into sql statements. Unfortunately, due to evolution of my app, sometimes the new version has more restrictive editing than an...
4
2691
by: ibiza | last post by:
Hi all, I have a small question concerning asp.net 2.0 validation groups. I have this (simplified) situation : Name Value _____ _____ |_____| |_____| _____ _____...
2
452
by: moondaddy | last post by:
How can I have a page with 2 different groups of controls (where each group of controls contain textboxes, validation controls and a submit button) and each group operate independently? for...
5
14040
by: russell.lane | last post by:
I'm getting the much-hated "validation of viewstate MAC failed" error. This is on an ASP.Net 2.0 app running in IIS with IE 6+ as the browser. The full error text is: Validation of viewstate...
13
565
by: =?Utf-8?B?QmFyYmFyYSBBbGRlcnRvbg==?= | last post by:
I have a Web page which contains several required field and compare validators. I´ve also add a validation summary control to get a message box explaining the error cause whenever a user makes a...
6
3339
by: Jon Paal | last post by:
validation doesn't fire what's missing ????? /////// ---- code -----/////////////////////////// Sub btnSubmit_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) 'Handles...
0
7216
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,...
0
7303
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,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7018
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...
0
5613
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,...
0
4699
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...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
754
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.