<?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>13886</bug_id>
          
          <creation_ts>2011-08-24 10:51:52 +0000</creation_ts>
          <short_desc>Audio Source broken?</short_desc>
          <delta_ts>2015-08-23 07:07:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>media</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="j.chetwynd">jay</reporter>
          <assigned_to name="Michael[tm] Smith">mike</assigned_to>
          <cc>admin947</cc>
          
          <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>55757</commentid>
    <comment_count>0</comment_count>
    <who name="j.chetwynd">jay</who>
    <bug_when>2011-08-24 10:51:52 +0000</bug_when>
    <thetext>this snippet

 &lt;audio &gt; 
            &lt;source src=&quot;audio/atari.mp3&quot; /&gt;
            &lt;source src=&quot;audio/atari.ogg&quot; /&gt;
 &lt;/audio&gt;

produces an error on the validator:

Line xxx, Column xx: Element source not allowed as child of element audio in this context. (Suppressing further errors from this subtree.)
            &lt;source src=&quot;audio/go.ogg&quot; /&gt;
Contexts in which element source may be used:
As a child of a media element, before any flow content or track elements.
Content model for element audio:
If the element has a src attribute: zero or more track elements, then transparent, but with no media element descendants.
If the element does not have a src attribute: one or more source elements, then zero or more track elements, then transparent, but with no media element descendants.

yet seems similar to:

http://www.whatwg.org/specs/web   

&lt;video controls autoplay&gt;
 &lt;source src=&apos;video.mp4&apos; type=&apos;video/mp4; codecs=&quot;avc1.42E01E, mp4a.40.2&quot;&apos;&gt;
 &lt;source src=&apos;video.ogv&apos; type=&apos;video/ogg; codecs=&quot;theora, vorbis&quot;&apos;
         onerror=&quot;fallback(parentNode)&quot;&gt;
 ...
&lt;/video&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56954</commentid>
    <comment_count>1</comment_count>
    <who name="">admin947</who>
    <bug_when>2011-09-18 22:24:43 +0000</bug_when>
    <thetext>This source validates correctly in http://validator.nu</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58895</commentid>
    <comment_count>2</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-10-25 08:33:58 +0000</bug_when>
    <thetext>This is due to a flub I made a while back and have since fixed in the sources. I&apos;ve just not pushed the fix out to the W3C validator so far. But I will do that within the next few days, and then change the status on this bug after that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58974</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-10-26 06:49:22 +0000</bug_when>
    <thetext>I just pushed an update to the validator, so this should ow validate as expected if you try it again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>