A bug in the validator ?

Discussion in 'HTML' started by picayunish, Dec 26, 2003.

  1. picayunish

    picayunish Guest

    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
     
    picayunish, Dec 26, 2003
    #1
    1. Advertising

  2. picayunish

    brucie Guest

    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


    --
    brucie
    26/December/2003 11:51:54 pm kilo
     
    brucie, Dec 26, 2003
    #2
    1. Advertising

  3. picayunish

    picayunish Guest

    brucie wrote:

    > 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
     
    picayunish, Dec 26, 2003
    #3
  4. picayunish

    Andy Dingley Guest

    On Fri, 26 Dec 2003 14:49:42 +0100, picayunish <>
    wrote:

    >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.
     
    Andy Dingley, Dec 27, 2003
    #4
  5. picayunish

    brucie Guest

    in post <news:>
    Andy Dingley said:

    > Of all the _many_ "bug in the validator" reports to alt.html over the
    > years, have any of them ever really been bugs ?


    i found one once.

    --
    brucie
    27/December/2003 05:38:09 pm kilo
     
    brucie, Dec 27, 2003
    #5
  6. Andy Dingley wrote:

    > 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
     
    Toby A Inkster, Dec 27, 2003
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Scott

    Validator/Textbox/Label Bug

    Scott, Apr 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    745
    Scott
    Apr 22, 2004
  2. coollzh
    Replies:
    0
    Views:
    381
    coollzh
    Jun 3, 2004
  3. Roger Kjærnsrød
    Replies:
    1
    Views:
    468
    Peter Blum
    Sep 21, 2004
  4. =?Utf-8?B?VmVua2k=?=

    Validator error message label becomes editable - Bug

    =?Utf-8?B?VmVua2k=?=, Sep 25, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    495
    Hermit Dave
    Sep 25, 2004
  5. Replies:
    4
    Views:
    904
    Richter~9.6
    Feb 13, 2007
Loading...

Share This Page