<?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>7597</bug_id>
          
          <creation_ts>2009-09-13 08:59:28 +0000</creation_ts>
          <short_desc>Markup &quot;loaded&quot; by validator differs from the markup loaded by public browser</short_desc>
          <delta_ts>2009-09-13 22:51:51 +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>Website</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 2000</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.spaceundefined.com</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Rasmussen">chrisrnz</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</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>27114</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Rasmussen">chrisrnz</who>
    <bug_when>2009-09-13 08:59:28 +0000</bug_when>
    <thetext>I&apos;m not sure if this is a bug or not but this is the only place I could find to report something like this.

I&apos;m trying to validate http://www.spaceundefined.com at the moment.  If I load the page and validate the source by direct input the page validates without any errors (XHTML 1.0 Strict).

However, if I validate by URI the validator fails with 3 errors, all of which relate to markup that does not show in the source when viewing the URL in a browser.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27115</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-09-13 09:20:00 +0000</bug_when>
    <thetext>Validator checks what it gets served, you can see what it got using the &quot;Show Source&quot; checkbox in validator&apos;s options.

Looks like the site is using ASP.Net; if it is, this might be helpful:
http://msdn.microsoft.com/en-us/library/exc57y7e.aspx
(see &quot;Configuring Browser Capabilities for Markup Validation&quot;)

The user-agent query string parameter for the validator can be used to set a custom User-Agent header, that might affect the markup it gets served.
http://validator.w3.org/docs/users.html#Options</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27121</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Rasmussen">chrisrnz</who>
    <bug_when>2009-09-13 11:51:57 +0000</bug_when>
    <thetext>Yes I understand that and I&apos;ve already done all that but I don&apos;t see why the validator would get different markup than a &apos;normal&apos; browser.  One of the errors I get is:

Line 20, Column 16: Attribute &quot;name&quot; exists, but can not be used for this element.
&lt;form name=&quot;aspnetForm&quot; method=&quot;post&quot; action=&quot;Default.aspx&quot; id=&quot;aspnetForm&quot;&gt;

When I view the source in a browser that attribute isn&apos;t there.  It&apos;s only there when I view the source received by the validator.

Isn&apos;t that a bit strange?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27127</commentid>
    <comment_count>3</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2009-09-13 21:23:01 +0000</bug_when>
    <thetext>Perhaps, but there&apos;s nothing the validator can do about that, it needs to be addressed at the server serving the document.  Or as said, you can try the user-agent (and accept, accept-language, and accept-charset) query string parameters to make the validator appear as a different &quot;browser&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27128</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Rasmussen">chrisrnz</who>
    <bug_when>2009-09-13 22:50:54 +0000</bug_when>
    <thetext>Ok, understood.  Thank you everyone!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27129</commentid>
    <comment_count>5</comment_count>
    <who name="Chris Rasmussen">chrisrnz</who>
    <bug_when>2009-09-13 22:51:51 +0000</bug_when>
    <thetext>Ok, understood.  Thank you everyone!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>