<?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>785</bug_id>
          
          <creation_ts>2004-06-02 15:32:36 +0000</creation_ts>
          <short_desc>validator does not supply reasonable Accept header by default</short_desc>
          <delta_ts>2011-08-23 21:34:12 +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>check</component>
          <version>0.7.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></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="John Belmonte">john</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>dean</cc>
    
    <cc>elimerl</cc>
    
    <cc>jab_creations</cc>
    
    <cc>kjarli</cc>
    
    <cc>michaellunsford</cc>
    
    <cc>normanfuchs</cc>
    
    <cc>patomas</cc>
    
    <cc>rubys</cc>
    
    <cc>sierkb</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>1999</commentid>
    <comment_count>0</comment_count>
    <who name="John Belmonte">john</who>
    <bug_when>2004-06-02 15:32:36 +0000</bug_when>
    <thetext>By default, the validator should request resources as if it were an HTML 
browser.  That means placing weight on HTML types such as text/html and 
application/xhtml+xml in the Accept header. 
 
Bug #18 is not a solution to this problem.  Most users don&apos;t use the advanced 
validator, and most users are expecting the validator to retrieve documents 
just like their standard-conforming browser.  (Yes, IE is not in this group.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2187</commentid>
    <comment_count>1</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2004-09-01 10:38:23 +0000</bug_when>
    <thetext>Setting blocker on Bug #18 -- resolving that is necessary for resolving this bug
-- and accepting it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9896</commentid>
    <comment_count>2</comment_count>
    <who name="Derek Young">thedevek</who>
    <bug_when>2006-05-25 22:04:22 +0000</bug_when>
    <thetext>Bug #18 has a working solution sort of, that can handle this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14056</commentid>
    <comment_count>3</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-02-22 06:25:30 +0000</bug_when>
    <thetext>Terje,

I disagree that this bug depends on Bug #18, or that solving Bug #18 would solve this. While Bug #18 might be interesting to implement, there will still be a need for a default. 

At the moment default Accept-* headers are those by default for:
new HTTP::Request(GET =&gt; $uri);

Two possibilities:
- forward those of the requesting UA
- hardcode a default for all the media types supported by the validator

My preference goes to the latter.

Thoughts?

(P.S Terje, if you don&apos;t think you&apos;ll be working on this, please reassign to me. Thanks.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14057</commentid>
    <comment_count>4</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2007-02-22 07:06:24 +0000</bug_when>
    <thetext>Resolving Bug #18 would add some of the code required for this bug. You may prefer to think of the dependancy being the other way around, but either way these two bugs are related.

I don&apos;t believe the Validator should send anything in its default Accept headers. It should probably offer an option to proxy the client browser&apos;s Accept headers as well as the ability to set it with more specificity.

This may mean that this bug should be closed WONTFIX (it&apos;s asking for a default value) and Bug #18 is where this actually gets implemented.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14747</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2007-04-19 01:57:12 +0000</bug_when>
    <thetext>I don&apos;t think that forwarding on the Accept headers is a good idea.  Having Opera users reporting that a page is valid when IE users see errors (or vice versa) would be very confusing.

That being said, the beta validator does have specific MIME types it supports (try validating a page served as text/plain), and it should provide this information to the server.  Or at least provide an option to provide the information.

Many people conditionally serve XHTML with the application/xhtml+xml mime type as there are browsers (most notably Lynx and IE) which do not support this MIME type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14755</commentid>
    <comment_count>6</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-04-19 10:27:16 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; That being said, the beta validator does have specific MIME types it supports
&gt; (try validating a page served as text/plain),

Indeed it does. There are also a few media types the markup validator cannot handle directly, but which it can &quot;pass&quot; to other validators (at least text/css, and if it&apos;s not the case, I think it should pass atom and so on to the feed validator).
 
&gt; Many people conditionally serve XHTML with the application/xhtml+xml mime type
&gt; as there are browsers (most notably Lynx and IE) which do not support this MIME
&gt; type.

Do you know whether most of such techniques have specific URIs for the  application/xhtml+xml and text/html representation?

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14759</commentid>
    <comment_count>7</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2007-04-19 12:11:08 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; 
&gt; &gt; Many people conditionally serve XHTML with the application/xhtml+xml mime type
&gt; &gt; as there are browsers (most notably Lynx and IE) which do not support this MIME
&gt; &gt; type.
&gt; 
&gt; Do you know whether most of such techniques have specific URIs for the 
&gt; application/xhtml+xml and text/html representation?

Most of the ones that I&apos;m aware of use a variation of  http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html, so no.

Including me.  http://validator-test.w3.org/check?uri=http%3A%2F%2Fwww.intertwingly.net%2Fblog%2F&amp;charset=&amp;doctype=&amp;ss=1&amp;group=0

Note: I&apos;m *not* expecting the validator at this point to support HTML5.  I was, however, expecting it to support XML.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14760</commentid>
    <comment_count>8</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-04-19 12:18:02 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; &gt; Do you know whether most of such techniques have specific URIs for the 
&gt; &gt; application/xhtml+xml and text/html representation?
&gt; 
&gt; Most of the ones that I&apos;m aware of use a variation of 
&gt; http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html, so no.

Thanks, that satisfies my curiosity.
 
&gt; Note: I&apos;m *not* expecting the validator at this point to support HTML5.  I was,
&gt; however, expecting it to support XML.

It supports documents written in xml-based languages, provided they are properly served as XML and that they declare something to validate against...
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14786</commentid>
    <comment_count>9</comment_count>
    <who name="PatomaS">patomas</who>
    <bug_when>2007-04-20 09:09:51 +0000</bug_when>
    <thetext>Hi 

(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; ...
&gt; 
&gt; &gt; Note: I&apos;m *not* expecting the validator at this point to support HTML5.  I was,
&gt; &gt; however, expecting it to support XML.
&gt; 
&gt; It supports documents written in xml-based languages, provided they are
&gt; properly served as XML and that they declare something to validate against...
&gt; 

How is it possible to validate a document properly served if the validator does not have such option available?

Or, do you expect that all the pages made with xhtml should be served with application/xhtml+xml with out detecting if the browser can or can not manage such a thing?

If this is what you propose as a solution, it is a very bad idea, first, because obviously it makes a lot of sites worst than invisible for the majority of the users for already mentioned and well know behaviours of Explorer. Second, because it contradicts the accesibility guidelines and it&apos;s core essence, make sites usable and accesible for every one or as many people as possible.

This is something that has to be solved properly since it a bug and it has been around for quite some time and is a major flaw from my point of view for the validator and it&apos;s team.

Yo have done a very nice work and a pice of art with this tool, but this kind of spots are still things to work on.

Bye, and keep the good work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14787</commentid>
    <comment_count>10</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-04-20 09:15:22 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; Or, do you expect that all the pages made with xhtml should be served with
&gt; application/xhtml+xml with out detecting if the browser can or can not manage
&gt; such a thing?

No, XHTML 1.0 documents served as text/html validate just fine. try it :)

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14791</commentid>
    <comment_count>11</comment_count>
    <who name="PatomaS">patomas</who>
    <bug_when>2007-04-20 14:47:07 +0000</bug_when>
    <thetext>Hi people

(In reply to comment #10)
&gt; (In reply to comment #9)
&gt; &gt; Or, do you expect that all the pages made with xhtml should be served with
&gt; &gt; application/xhtml+xml with out detecting if the browser can or can not manage
&gt; &gt; such a thing?
&gt; 
&gt; No, XHTML 1.0 documents served as text/html validate just fine. try it :)
&gt; 

Well I am not sure how to interpret that answer, may be is a joke or may be it is serious... just in case, I will not feel bad for it...

But...

As we can read in the XHTML Media Types document from 1 August 2002 (http://www.w3.org/TR/xhtml-media-types/), the w3c states this:
&quot;This document summarizes the best current practice for using various Internet media types for serving various XHTML Family documents. In summary, application/xhtml+xml&apos; SHOULD be used for XHTML Family documents, and the use of &apos;text/html&apos; SHOULD be limited to HTML-compatible XHTML 1.0 documents. &apos;application/xml&apos; and &apos;text/xml&apos; MAY also be used, but whenever appropriate, &apos;application/xhtml+xml&apos; SHOULD be used rather than those generic XML media types.&quot;

So, it means, among other interpretations, that the validator should offer a fair option to validate a document with the application/xhtml+xml media type through some kind of navigation option in the page or shouldn&apos;b any kind of reminder that the document served as text/html is not correct application/xhtml+xml.

And of course it only applies to xhtml 1.0, but if you are validating an xhtml 1.1 document, ther is no possible interpretation to use text/html. Execept, the fact that the documents should be served that way for the Explorer.

So i think that the point is still valid, it means, the request filled here.

Bye people</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14869</commentid>
    <comment_count>12</comment_count>
    <who name="David Dorward">david</who>
    <bug_when>2007-04-24 11:16:36 +0000</bug_when>
    <thetext>&gt; So, it means, among other interpretations, that the validator should offer

I can&apos;t see anything there which describes what CLIENTS should do. Only servers.

&gt; shouldn&apos;b any kind of reminder that the document served as 
&gt; text/html is not correct application/xhtml+xml.

I&apos;ve just tested an XHTML 1.0 document with the validator. It gave no complaints with text/html or application/xhtml+xml

It does complain when a XHTML 1.1 document is served as text/html, but the documentation is pretty clear when it says that you SHOULD NOT do that.

If the problem is caused by you detecting that a client doesn&apos;t support XHTML and then serving XHTML 1.1 as text/html despite the specification, then don&apos;t do that. If you are doing that, then it is highly unlikely that you are getting any of the possible benefits of client side XHTML, so you might as well stick to HTML. Even if you continue using XHTML then its relatively trivial to use XSLT to output HTML 4.01 or XHTML 1.0 from an XHTML 1.1 document (and since the extra features added by XHTML aren&apos;t available to text/html clients, this is unlikely to cause problems).

&gt; And of course it only applies to xhtml 1.0, but if you are validating an 
&gt; xhtml 1.1 document, ther is no possible interpretation to use text/html.
&gt; Execept, the fact that the documents should be served that way for the 
&gt; Explorer.

Needing to support clients that do not support a standard is usually a good reason to use a different standard. It isn&apos;t usually a good reason to violate the specification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14870</commentid>
    <comment_count>13</comment_count>
    <who name="PatomaS">patomas</who>
    <bug_when>2007-04-24 12:19:54 +0000</bug_when>
    <thetext>Hi

(In reply to comment #12)
&gt; &gt; So, it means, among other interpretations, that the validator should offer
&gt; 
&gt; I can&apos;t see anything there which describes what CLIENTS should do. Only
&gt; servers.

     Well, i have to say that this idea is not clear for me, so may be you can explain yourself a bit.

&gt; &gt; shouldn&apos;b any kind of reminder that the document served as 
&gt; &gt; text/html is not correct application/xhtml+xml.
&gt; 
&gt; I&apos;ve just tested an XHTML 1.0 document with the validator. It gave no
&gt; complaints with text/html or application/xhtml+xml

     This is just arguing since i already mentioned that option a few lines below.

&gt; It does complain when a XHTML 1.1 document is served as text/html, but the
&gt; documentation is pretty clear when it says that you SHOULD NOT do that.
&gt; 
&gt; If the problem is caused by you detecting that a client doesn&apos;t support XHTML
&gt; and then serving XHTML 1.1 as text/html despite the specification, then don&apos;t
&gt; do that. If you are doing that, then it is highly unlikely that you are getting
&gt; any of the possible benefits of client side XHTML, so you might as well stick
&gt; to HTML. Even if you continue using XHTML then its relatively trivial to use
&gt; XSLT to output HTML 4.01 or XHTML 1.0 from an XHTML 1.1 document (and since the
&gt; extra features added by XHTML aren&apos;t available to text/html clients, this is
&gt; unlikely to cause problems).

Well, if i serve the document in a wrong way, then it will be my fault. But if you ever have made and application, you should know that should exist any kind of default state or information, so my default state is to serve the same document xhtml 1.1 document with out the &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; line and served with the text/html header. It is true that that combination is not valid, but i still have a valid document to serve, at least, to the browsers that support it properly.

So my question/proposal is that the validator should offer any option to send to it the right document with the right header. There are a lot of options for the validator application to do that, and a simple one is to send a header. Another simple one is to offer that emulation in a menu, combo box or whatever option you choose.
 
&gt; &gt; And of course it only applies to xhtml 1.0, but if you are validating an 
&gt; &gt; xhtml 1.1 document, ther is no possible interpretation to use text/html.
&gt; &gt; Execept, the fact that the documents should be served that way for the 
&gt; &gt; Explorer.
&gt; 
&gt; Needing to support clients that do not support a standard is usually a good
&gt; reason to use a different standard. It isn&apos;t usually a good reason to violate
&gt; the specification.
&gt; 

But it seems that i and all the people that think the same way are not going to get any kind of positive answer, you can close that bug. May be one day someone will open new one and then will get a different answer.

Bye</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14876</commentid>
    <comment_count>14</comment_count>
    <who name="PatomaS">patomas</who>
    <bug_when>2007-04-25 01:52:48 +0000</bug_when>
    <thetext>Hi

I was kind of upset in the last message, excuse me for that.

I understand the point, even when it is expressed in a way that makes me think you never have made a website using serious programming or had to deal with extrange behaviours in browsers and servers due to this default state.

So if we are strict to the rule, the only way is to send the right header and send a different document to browsers who do not support the right one. Well. Ok.

But this is not as simple as parse it with xslt.

And even in that situation, if i have such a detection, every time i try to validate the document here, i will validate the default state, it means the application/html+xml and the xhtml 1.1 document. But, i can not validate the, let say, text/html and html 4.01 option because of the lack of headers from the validator. The only way to validate that option, is to request it in a non compilant browser, then copy the content and paste it in that option of the validator.

So i still think that is fair to expect from the validator to give equal chances to validate both options in the same way, not one document in one way and the other document in other way.

And this is quite simple to implement that i think it should be considered.

Bye :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14895</commentid>
    <comment_count>15</comment_count>
    <who name="Sierk Bornemann">sierkb</who>
    <bug_when>2007-04-26 14:13:11 +0000</bug_when>
    <thetext>Is there any good reason, to *not* sending an accept header at all or to send an empty accept header?
I presume the validator to be a normal requesting client from the servers&apos; point of view. So the validator should provide a reasonable accept header.

Please have a look at http://validator-test.w3.org/check?uri=http%3A%2F%2Fsierkbornemann.de%2F&amp;charset=&amp;doctype=&amp;group=0

Per default, I serve .html with the MIME type &quot;text/html&quot;. If a client requests, which accepts &quot;application/xhtml+xml&quot;, then an Apache rewrite rule rewrites the MIME type to &quot;application/xhtml+xml&quot; as for instance  http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html proposes. This solution works very well, but not in validator 0.8 beta, which throws out a warning about a false served media type. This warning is fully acceptable concerning the fact, that the validator in fact seems to reseive &quot;text/html&quot; instead of &quot;application/xhtml+xml&quot;. This problem would not exist, if the Validator would provide a reasonable accept header! If it would provide one and indicates, what MIMEtypes it accepts, then the webserver&apos;s rules have the chance to match. At the moment, there is no chance for such rules to match because of lacking information from the validator. Currently the validator throws out a warning about a problem or misconfiguration, which does not necessary apply, if the validator would be a little more server-friendly and would provide a proper and talking accept header.

My solution in conditionnaly rewriting the MIME type by the webserver, is a compromise to not let the Internet Explorer out of the playground. If IE would understand &quot;application/xhtml+xml&quot;, I would have much less sleepless nights. In that case, I could serve &quot;application/xhtml+xml&quot; per default to any XHTML document, like the spec defines/recommends. But that is fiction so far. So little workarounds have to be done.

I *want* to use XHTML, lastly to promote it. I intentionally *want* to use XHTML 1.1, lastly to promote it and lastly to provide it to web browsers, who are capable in doing their work correctly and fulfilling the standards.
And I want my documents be parsed as XML and not as SGML as far as possible.
Browsers like the Internet Explorer, who don&apos;t work correctly and don&apos;t catch up the stabdards, have got a bad standing (at least and especially in my eyes), and I am *not* willing to provide (or going further: foster) this bad standing any longer. The browser vendor, especially Microsoft, *has to do* his homework in delivering a good and reliable piece of software. Is that the intention of the W3C QA? Don&apos;t give XHTML 1.1 real chances, because of one single web browser out there, who can&apos;t really deal with it?

The content on my website http://sierkbornemann.de/ semantically meets XHTML 1.1. So why shouldn&apos;t I use a XHTML 1.1 DTD and the appropriate mimetype &quot;application/xhtml+xml&quot; for clients, which are capable of it?
If all other web browsers but one browser (the IE) could be served with fully compliant XHTML 1.1 including the correct MIME type, then I want to do it. If this one browser (the IE) couldn&apos;t be served with the correct MIME type or only could be served with minimal flaws, then it is my risk to take.

The validator should behave like a client, which is full capable of these standards, and it should provide this information to the public in presenting a reasonable and talking accept header to the webservers out there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16803</commentid>
    <comment_count>16</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-26 13:52:42 +0000</bug_when>
    <thetext>(In reply to comment #15)
&gt; Is there any good reason, to *not* sending an accept header at all or to send
&gt; an empty accept header?

Probably not. Now where is the patch that will cover all the media types which the validator accepts? I am changing the assignment to this bug, to make it very clear I am not working on it, and others should feel free to work on a patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16824</commentid>
    <comment_count>17</comment_count>
    <who name="Dean Edridge">dean</who>
    <bug_when>2007-09-27 02:22:06 +0000</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #9)
&gt; &gt; Or, do you expect that all the pages made with xhtml should be served with
&gt; &gt; application/xhtml+xml with out detecting if the browser can or can not manage
&gt; &gt; such a thing?
&gt; 
&gt; No, XHTML 1.0 documents served as text/html validate just fine. try it :)
&gt; 
Arrr... no they don&apos;t actually. This causes a enormous amount of problems. XHTML SHOULD not be served as text/html and the validator is wrong to do so, and misleads people when it validates such a page. Sooner or later people will have to be told the truth. It&apos;s going to be an interesting time when people start changing from XHTML1.0 (sent as text/html) to HTML5 (sent as text/html). Then people will find out once and for all what XHTML really is :)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16834</commentid>
    <comment_count>18</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-27 02:57:58 +0000</bug_when>
    <thetext>(In reply to comment #17)

&gt; XHTML SHOULD not be served as text/html and the validator is wrong to do so,
&gt; and misleads people when it validates such a page. 

Reference please? All I have is http://www.w3.org/TR/2002/REC-xhtml1-20020801/#media
[[ XHTML Documents which follow the guidelines set forth in Appendix C, &quot;HTML Compatibility Guidelines&quot; may be labeled with the Internet Media Type &quot;text/html&quot; [RFC2854], as they are compatible with most HTML browsers. ]]

And how is this on topic?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16838</commentid>
    <comment_count>19</comment_count>
    <who name="Dean Edridge">dean</who>
    <bug_when>2007-09-27 04:00:50 +0000</bug_when>
    <thetext>(In reply to comment #18)
&gt; (In reply to comment #17)
&gt; 
&gt; &gt; XHTML SHOULD not be served as text/html and the validator is wrong to do so,
&gt; &gt; and misleads people when it validates such a page. 
&gt; 
&gt; Reference please? All I have is
&gt; http://www.w3.org/TR/2002/REC-xhtml1-20020801/#media
&gt; [[ XHTML Documents which follow the guidelines set forth in Appendix C, &quot;HTML
&gt; Compatibility Guidelines&quot; may be labeled with the Internet Media Type
&gt; &quot;text/html&quot; [RFC2854], as they are compatible with most HTML browsers. ]]
&gt; 
&gt; And how is this on topic?
&gt; 

Ref: http://webkit.org/blog/?p=68

Well if the W3C would stop misleading everyone with the appendix C circus and start helping people to use XHTML properly we wouldn&apos;t be having this conversation and this bug would not exist. The fact is you can&apos;t use XHTML on the web today with out using server-side content negotiation.

I&apos;m trying to help the W3C promote and encourage the proper use of XHTML on the web, please be more open to input from the public. The fact that this error with the validator has been around for 5 years makes me wonder if the W3C has a problem listening to the advise of industry experts. 


Thanks,
Dean  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16845</commentid>
    <comment_count>20</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-27 10:27:54 +0000</bug_when>
    <thetext>(In reply to comment #19)

&gt; Well if the W3C would stop misleading everyone with the appendix C circus and
&gt; start helping people to use XHTML properly we wouldn&apos;t be having this
&gt; conversation and this bug would not exist. The fact is you can&apos;t use XHTML on
&gt; the web today with out using server-side content negotiation.

Your intensity about the issue is appreciated, and I hope that you are as adamant in lobbying browser vendors not properly supporting XHTML.

I am not a fan of appendix C, actually, but I am working on a tool that is supposed to respect and enforce standardized rules. 

This is why the validator is not complaining about XHTML 1.0 served as text/html (we do have a bug about making the validator complain if a text/html XHTML 1.0 document does not respect said appC). 

This is why the validator is sending a warning (not an error...) when XHTML 1.1 is served as text/html. Whether a broken browser is a good reason to do this, whether it is a good idea to serve XHTML 1.1 as text/html to IE, search engines and other agents, whether this actually helps or hinders the progress of XHTML on the web, is off-topic for the validator.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16847</commentid>
    <comment_count>21</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-09-27 10:33:15 +0000</bug_when>
    <thetext>Since:
* there has been a lot of discussion on this, but no patch
* there is no way in HTTP to claim acceptance of e.g application/*+xml
* there is a fix on its way for Bug 18, which would allow the precise setting of the accept header, as well as accept-language (something much more flexible and useful IMHO)

I am moving to closing this as WONTFIX.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18149</commentid>
    <comment_count>22</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-12-25 23:32:59 +0000</bug_when>
    <thetext>*** Bug 5330 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18608</commentid>
    <comment_count>23</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-01-28 13:56:49 +0000</bug_when>
    <thetext>*** Bug 5432 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19982</commentid>
    <comment_count>24</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-04-29 12:01:10 +0000</bug_when>
    <thetext>(In reply to comment #21)
&gt; * there has been a lot of discussion on this, but no patch
&gt; * there is no way in HTTP to claim acceptance of e.g application/*+xml
&gt; * there is a fix on its way for Bug 18, which would allow the precise setting
&gt; of the accept header, as well as accept-language (something much more flexible
&gt; and useful IMHO)
&gt; 
&gt; I am moving to closing this as WONTFIX.

To make things clear, this bug may be reopened if anyone can submit a functional patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20529</commentid>
    <comment_count>25</comment_count>
      <attachid>555</attachid>
    <who name="Etienne Miret">elimerl</who>
    <bug_when>2008-06-15 07:25:07 +0000</bug_when>
    <thetext>Created attachment 555
Forwards Accept, Accept-Charset and Accept-Language headers in a referer request

This patch makes use of the already available &quot;accept&quot;, &quot;accept-language&quot; and &quot;accept-charset&quot; parameters and populate them with the values provided by the client *in case of a referer request*. It will also make sure those values are kept across revalidation. This makes URI to be very long. Sorry.

The headers sent by the client are copied verbatim, that means that the validator will send Accept and Accept-Charset headers with types and charset it doesnt support. This is the desired behaviour since a check/referer link on a - say - PDF document should trigger an error &quot;This document type cannot be validated&quot; even if a HTML/XHTML variant is available.

No Accept-Encoding header is sent because in case the validator gets an encoding it doesnt know about, it tries to validate the encoded document. This is different from charset and content-type, where the validator will display an appropriate error message whenever it gets one it doesn&apos;t know about.

Beside Accept-Encoding, a server may do content-negotiation with any HTTP header, notably User-Agent, and even other informations (like IP address). Hence, there is no, and there cannot be any warranty that the validated document is the one the user was actually viewing, although this patch will help this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20530</commentid>
    <comment_count>26</comment_count>
      <attachid>556</attachid>
    <who name="Etienne Miret">elimerl</who>
    <bug_when>2008-06-15 07:29:31 +0000</bug_when>
    <thetext>Created attachment 556
Forwards Accept and Accept-Language headers in a referer request

This patch is basically identical to the previous one, except that it wont forward the Accept-Charset header. Olivier Thereaux asked for it, but Im not sure it is better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21547</commentid>
    <comment_count>27</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-08-14 12:50:40 +0000</bug_when>
    <thetext>*** Bug 5970 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21550</commentid>
    <comment_count>28</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-08-14 13:15:25 +0000</bug_when>
    <thetext>*** Bug 5970 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21553</commentid>
    <comment_count>29</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2008-08-14 13:25:32 +0000</bug_when>
    <thetext>*** Bug 5970 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55732</commentid>
    <comment_count>30</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2011-08-23 21:00:28 +0000</bug_when>
    <thetext>*** Bug 9416 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55733</commentid>
    <comment_count>31</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2011-08-23 21:09:47 +0000</bug_when>
    <thetext>Does the validator send an Accept header? If so why is the application/xhtml+xml mime not simply added?

Since it is merely a statement that the user agent supports the mime and it&apos;s clear that the validator does support application/xhtml+xml what exactly is holding back the string from simply being added to the header?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55737</commentid>
    <comment_count>32</comment_count>
    <who name="Etienne Miret">elimerl</who>
    <bug_when>2011-08-23 21:34:12 +0000</bug_when>
    <thetext>(In reply to comment #31)
&gt; Does the validator send an Accept header?
No, it doesnt.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>555</attachid>
            <date>2008-06-15 07:25:07 +0000</date>
            <delta_ts>2008-06-15 07:25:07 +0000</delta_ts>
            <desc>Forwards Accept, Accept-Charset and Accept-Language headers in a referer request</desc>
            <filename>negotiate-referer.diff</filename>
            <type>text/plain</type>
            <size>5022</size>
            <attacher name="Etienne Miret">elimerl</attacher>
            
              <data encoding="base64">SW5kZXg6IGh0dHBkL2NnaS1iaW4vY2hlY2sKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL3NvdXJjZXMv
cHVibGljL3ZhbGlkYXRvci9odHRwZC9jZ2ktYmluL2NoZWNrLHYKcmV0cmlldmluZyByZXZpc2lv
biAxLjU4OApkaWZmIC1VIDMgLXIxLjU4OCBjaGVjawotLS0gaHR0cGQvY2dpLWJpbi9jaGVjawk1
IE1heSAyMDA4IDAzOjMwOjE4IC0wMDAwCTEuNTg4CisrKyBodHRwZC9jZ2ktYmluL2NoZWNrCTE0
IEp1biAyMDA4IDE5OjM5OjQ1IC0wMDAwCkBAIC0xMTE5LDYgKzExMTksMTggQEAKICAgaWYgKCRG
aWxlLT57J0Vycm9yIEZsYWdnZWQnfSkgewogICAgICRULT5wYXJhbShmYXRhbF9lcnJvciA9PiBU
UlVFKTsKICAgfQorCisgICMKKyAgIyBDb250ZW50LW5lZ290aWF0aW9uCisgIGlmICgkRmlsZS0+
e09wdH0tPnsnQWNjZXB0IEhlYWRlcid9KSB7CisgICAgJFQtPnBhcmFtKCdhY2NlcHQnID0+ICRG
aWxlLT57T3B0fS0+eydBY2NlcHQgSGVhZGVyJ30pOworICB9CisgIGlmICgkRmlsZS0+e09wdH0t
PnsnQWNjZXB0LUxhbmd1YWdlIEhlYWRlcid9KSB7CisgICAgJFQtPnBhcmFtKCdhY2NlcHQtbGFu
Z3VhZ2UnID0+ICRGaWxlLT57T3B0fS0+eydBY2NlcHQtTGFuZ3VhZ2UgSGVhZGVyJ30pOworICB9
CisgIGlmICgkRmlsZS0+e09wdH0tPnsnQWNjZXB0LUNoYXJzZXQgS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DxUTVBMX0lG
IE5BTUU9ImFjY2VwdC1jaGFyc2V0Ij4KKwkgIDxpbnB1dCB0eXBlPSJoaWRkZW4iIHZhbHVlPSI8
VE1QTF9WQVIgTkFNRT0iYWNjZXB0LWNoYXJzZXQiIEVTQ0FQRT1IVE1MPiIgaWQ9ImFjY2VwdC1j
aGFyc2V0IiBuYW1lPSJhY2NlcHQtY2hhcnNldCIgLz4KKwkgIDwvVE1QTF9JRj4KKwkgIDxpbnB1
dCB0eXBlPSJzdWJtaXQiIHZhbHVlPSJSZXZhbGlkYXRlIiB0aXRsZT0iVmFsaWRhdGUgdGhpcyBk
b2N1bWVudCBhZ2FpbiIgLz4KKwk8L2Rpdj4KICAgPC9maWVsZHNldD4KIDwvZm9ybT4KIDwvVE1Q
TF9JRj4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>556</attachid>
            <date>2008-06-15 07:29:31 +0000</date>
            <delta_ts>2008-06-15 07:29:31 +0000</delta_ts>
            <desc>Forwards Accept and Accept-Language headers in a referer request</desc>
            <filename>negotiate-referer-nocharset.diff</filename>
            <type>text/plain</type>
            <size>4249</size>
            <attacher name="Etienne Miret">elimerl</attacher>
            
              <data encoding="base64">SW5kZXg6IGh0dHBkL2NnaS1iaW4vY2hlY2sKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL3NvdXJjZXMv
cHVibGljL3ZhbGlkYXRvci9odHRwZC9jZ2ktYmluL2NoZWNrLHYKcmV0cmlldmluZyByZXZpc2lv
biAxLjU4OApkaWZmIC1VIDMgLXIxLjU4OCBjaGVjawotLS0gaHR0cGQvY2dpLWJpbi9jaGVjawk1
IE1heSAyMDA4IDAzOjMwOjE4IC0wMDAwCTEuNTg4CisrKyBodHRwZC9jZ2ktYmluL2NoZWNrCTE0
IEp1biAyMDA4IDE5OjIzOjQ3IC0wMDAwCkBA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