HighDots Forums  

A bug in the validator ?

alt.html alt.html


Discuss A bug in the validator ? in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
picayunish
 
Posts: n/a

Default A bug in the validator ? - 12-26-2003 , 08:49 AM






Good day all,

When use a single quote e.g. <div style='border: 0px;'> instead of a
dubble quote, the page validates.
Is this a well known bug or not.
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Under construction


Reply With Quote
  #2  
Old   
picayunish
 
Posts: n/a

Default Re: A bug in the validator ? - 12-26-2003 , 09:01 AM






brucie wrote:

Quote:
in post <news:h_WGb.4864$7U1.57864@amstwist00
picayunish said:


When use a single quote e.g. <div style='border: 0px;'> instead of a
dubble quote, the page validates.


3.2.2 Attributes
By default, SGML requires that all attribute values be delimited using
either double quotation marks (ASCII decimal 34) or single quotation
marks (ASCII decimal 39). Single quote marks can be included within the
attribute value when the value is delimited by double quote marks, and
vice versa. Authors may also use numeric character references to
represent double quotes (") and single quotes ('). For double
quotes authors can also use the character entity reference &quot;.

In certain cases, authors may specify the value of an attribute without
any quotation marks. The attribute value may only contain letters (a-z
and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII
decimal 46), underscores (ASCII decimal 95), and colons (ASCII decimal
58). We recommend using quotation marks even when it is possible to
eliminate them.
http://www.w3.org/TR/html401/intro/sgmltut.html


Is this a well known bug or not.


not
Thanx Brucie for the info.
--
Edwin van der Vaart
http://www.semi-conductor.nl/ Links to Semiconductors sites
http://www.evandervaart.nl/ Under construction



Reply With Quote
  #3  
Old   
Andy Dingley
 
Posts: n/a

Default Re: A bug in the validator ? - 12-26-2003 , 10:56 PM



On Fri, 26 Dec 2003 14:49:42 +0100, picayunish <e_vdvaart (AT) yahoo (DOT) co.uk>
wrote:

Quote:
Is this a well known bug or not.
No, it's not a bug.

Now what was your question again ?

Of all the _many_ "bug in the validator" reports to alt.html over the
years, have any of them ever really been bugs ?
--
Klein bottle for rent. Apply within.


Reply With Quote
  #4  
Old   
Toby A Inkster
 
Posts: n/a

Default Re: A bug in the validator ? - 12-27-2003 , 05:42 AM



Andy Dingley wrote:

Quote:
Of all the _many_ "bug in the validator" reports to alt.html over the
years, have any of them ever really been bugs ?
Not sure about the HTML validator, but the CSS validator is full of them
-- mainly in the HTML parsing part.

Try:

<link href="foobar" rel="stylesheet" type="test/css"
media="screen,projection">

--
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.