Re: URI and escape mechanism

At 0:47 +0100 2002-07-11, Nick Kew wrote:
>On Wed, 10 Jul 2002, Karl Dubost wrote:
>http://www.example.org/check?uri=http://www.example.net/path/to/yourfile.html&lang=en
>  >
>>  If we escape "&" only the validator will be fine... but the RFC seems
>>  to say you have to escape also the "/"
>
>Nope.
>
>The validator is validating markup.  The fact that "/" is reserved
>in URI (perfectly legal, but reserved) has no bearing on the
>validity of the HTML.

Except that the validator on port 8001 do not react on a non-escape ampersand.

In HTML 4.01
http://www.w3.org/TR/1999/REC-html401-19991224/appendix/notes.html#h-B.2.2

"For example, to use the URI "http://host/?x=1&y=2" as a linking URI, 
it must be written <A href="http://host/?x=1&#38;y=2"> or <A 
href="http://host/?x=1&amp;y=2">."


For the "/" is another problem as you said. But it could be a warning.

-- 
Karl Dubost / W3C - Conformance Manager
           http://www.w3.org/QA/

      --- Be Strict To Be Cool! ---

Received on Wednesday, 10 July 2002 20:09:08 UTC