Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 05:25 PM
dfirefire
Guest
 
Posts: n/a
Default html validator needs glasses?

Hi, i tried to validate a html doc, but the validator complained without
reason. This is an excerpt of the validation results:

Below are the results of attempting to parse this document with an SGML
parser.

1.. Line 24, column 19: there is no attribute "SRC" (explain...).
<embed src="firesite/img/flashtest.swf" quality="high"
pluginspage="http
^2.. Line 24, column 56: there is no attribute
"QUALITY" (explain...).
..."firesite/img/flashtest.swf" quality="high"
pluginspage="http://www.macromedi...
^Source Listing
Below is the source input I used for this validation:

1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
.... 24: <embed src="firesite/img/flashtest.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="550"
height="400"></embed></object></td>
....The rest of the tags match, and dreamweaver doesn't find anything to
clean up. I even included spaces before and after the equation.Where did I
go wrong?dfirefire


  #2  
Old July 20th, 2005, 05:25 PM
Goran Larsson
Guest
 
Posts: n/a
Default Re: html validator needs glasses?

In article <bnj83h$b36$1@news.worldonline.be>,
dfirefire <dfirefire@tiscali.be> wrote:
[color=blue]
> Hi, i tried to validate a html doc, but the validator complained without
> reason.[/color]

Why do you believe that the validator did not have a reason to complain?
[color=blue]
> 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> ... 24: <embed src="firesite/img/flashtest.swf" quality="high"[/color]

There is no <embed> in the HTML 4.01 Specification.

< http://www.w3.org/TR/html401/ >

--
Göran Larsson http://www.mitt-eget.com/
  #3  
Old July 20th, 2005, 05:25 PM
Nick Kew
Guest
 
Posts: n/a
Default Re: html validator needs glasses?

In article <bnj83h$b36$1@news.worldonline.be>, one of infinite monkeys
at the keyboard of "dfirefire" <dfirefire@tiscali.be> wrote:[color=blue]
> Hi, i tried to validate a html doc, but the validator complained without
> reason. This is an excerpt of the validation results:[/color]

Nope, it complained with good reason: you have an element "<embed>"
that isn't defined in HTML.

Unfortunately it complained first about the attributes to the
bogus element, which evidently confused you. Maybe you'd fine
Page Valet's "visual" view clearer?
[color=blue]
> ...The rest of the tags match, and dreamweaver doesn't find anything to
> clean up.[/color]

This kind of thing is why you need so much more expertise to generate
anything half-decent with Dreamweaver than with vi or emacs and
standard tools.

--
Nick Kew

In urgent need of paying work - see http://www.webthing.com/~nick/cv.html
  #4  
Old July 20th, 2005, 05:25 PM
Jukka K. Korpela
Guest
 
Posts: n/a
Default Re: html validator needs glasses?

"dfirefire" <dfirefire@tiscali.be> wrote:
[color=blue]
> Hi, i tried to validate a html doc,[/color]

Why?
[color=blue]
> but the validator complained without reason.[/color]

The validator did exactly what you asked it to do. The problem is that
you didn't realize what you asked for. See
http://www.cs.tut.fi/~jkorpela/html/validation.html
[color=blue]
> This is an excerpt of the validation results:[/color]

In future, don't forget to post the URL. This time, things are pretty
clear, by accident:
[color=blue]
> ^2.. Line 24, column 56: there is no attribute
> "QUALITY" (explain...).[/color]

You're not telling us all the facts, are you? That's just one part of
the report, and the less relevant one.
[color=blue]
> and dreamweaver doesn't find anything to clean up.[/color]

Blame Can^H^H^HDreamWeaver.
[color=blue]
> I even included
> spaces before and after the equation.Where did I go wrong?dfirefire[/color]

In not studying what validation is before trying to validate.

If you use <embed>, the real problem is not validation. You could write
a DTD of your own, but why? The real problem is that <embed> is a
potential source of confusion, inaccessibility, and poor usability.
Whether this materializes has really nothing to do with validation.

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

  #5  
Old July 20th, 2005, 05:25 PM
Spartanicus
Guest
 
Posts: n/a
Default Re: html validator needs glasses?

dfirefire wrote:
[color=blue]
> 1.. Line 24, column 19: there is no attribute "SRC" (explain...).
> <embed src="firesite/img/flashtest.swf" quality="high"[/color]

http://www.alistapart.com/articles/flashsatay/

--
Spartanicus
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles