<?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>21312</bug_id>
          
          <creation_ts>2013-03-16 19:56:06 +0000</creation_ts>
          <short_desc>The get an attribute algorithm should say what to do if it reaches the end of the byte stream before the end of the attribute name or value is reached. Probably it aborts the algorithm with the attrib [...]</short_desc>
          <delta_ts>2013-04-23 00:05:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#documentEncoding</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>84517</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-03-16 19:56:06 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html
Multipage: http://www.whatwg.org/C#documentEncoding
Complete: http://www.whatwg.org/c#documentEncoding

Comment:
The get an attribute algorithm should say what to do if it reaches the end of
the byte stream before the end of the attribute name or value is reached.
Probably it aborts the algorithm with the attribute name or value it got so
far.

Posted from: 76.119.210.197
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86516</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-04-23 00:03:49 +0000</bug_when>
    <thetext>My intent was that &quot;If at any point during these steps the user agent either runs out of bytes or reaches its end condition, then abort the prescan a byte stream to determine its encoding algorithm unsuccessfully.&quot; would apply to &quot;get an attribute&quot;. I&apos;ve made this clearer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86517</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-04-23 00:05:11 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7848.
Check-in comment: Be clearer about how preparsing handles running out of bytes.
http://html5.org/tools/web-apps-tracker?from=7847&amp;to=7848</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>