<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1509</bug_id>
          
          <creation_ts>2005-06-25 17:33:53 +0000</creation_ts>
          <short_desc>Error in parser (in style part)</short_desc>
          <delta_ts>2005-06-29 09:30:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Parser</component>
          <version>0.6.7</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://magazine.kz/w/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="SLTK">sltk</reporter>
          <assigned_to name="SLTK">sltk</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4352</commentid>
    <comment_count>0</comment_count>
    <who name="SLTK">sltk</who>
    <bug_when>2005-06-25 17:33:53 +0000</bug_when>
    <thetext>In my style sheet exists next code:
background: url(&apos;pic/main/center/cpb.gif&apos;) repeat;
Your parser stoped when found &quot;/&quot;, but CSS Validator scan it normaly.
You may test this bug on my page: http://magazine.kz/w/index.php</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4378</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2005-06-29 09:30:23 +0000</bug_when>
    <thetext>Not a bug.  In HTML (but not XHTML), due to its SGML nature, writing: 
 
    &lt;style type=text/css&gt;foo { ... 
 
...is the same as writing: 
 
    &lt;style type=text&gt;&lt;/style&gt;&lt;/head&gt;&lt;body&gt;foo { ... 
 
You can witness this by checking the &quot;parse tree&quot; checkbox in the validation 
results and revalidating: 
http://validator.w3.org/check?uri=http%3A%2F%2Fmagazine.kz%2Fw%2Findex.php&amp;charset=%28detect+automatically%29&amp;doctype=%28detect+automatically%29&amp;sp=1 
 
The fix is to place quotes around text/css like: 
 
    &lt;style type=&quot;text/css&quot;&gt;foo { ... 
 
Always quoting attribute values is a good habit, even if it&apos;s not always 
required. </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>