- From: Dominique Meeùs <dominique@d-meeus.be>
- Date: Mon, 31 Aug 2009 11:12:10 +0000
- To: Helder Magalhães <helder.magalhaes@gmail.com>
- CC: www-amaya <www-amaya@w3.org>
Received on Monday, 31 August 2009 11:25:20 UTC
Helder Magalhães a écrit ce qui suit, le 31/08/09 12:06 : > Hi Dominique, >> line 1969, char 98: not well-formed (invalid token) >> But the line is >> <em class="ouvrage"><a >> href="http://studies.d-meeus.be/wikindx3/index.php?action=resourceView&id=401">Dreams >> which is perfectly legitimate (char. 98 is the d of id=). >> > The problem here isn't the "d" of "id" but it's the fact that you > haven't escaped the "&" character in the URL, reason why Amaya (and > probably other browsers/HTML parsers also) is complaining: it's trying > to parse "id" as an HTML/XML entity [1]. Replacing "&" by "&" will > probably "fix" it (note that I haven't tried to reproduce this > behavior). ;-) Yes, Amaya was emphasising the d but eventually I understood it was the & Is it normal to "parse" as html or xml a value inside " " and/or to "correct" it? Html Tidy does also correct such a & in a URL. I remember that some servers do not understand http requests with & instead of &. I had to re-correct all my & back to & after using Tidy (I knew there were no other & than in URLs). If the correct syntax is "http://domain.net/index.php?action=this&lang=fr&something=that" why should Amaya or Html Tidy make this impossible? -- Amicalement, Dominique.
Received on Monday, 31 August 2009 11:25:20 UTC