[Bug 14832] New: At http://dev.w3.org/html5/spec/Overview.html#terminology-0, a subsection entitled "Terminology", it says: A URL is a valid URL if at least one of the following conditions holds: o The URL is a valid URI reference [RFC3986]. o The URL is a valid IRI refer

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14832

           Summary: At
                    http://dev.w3.org/html5/spec/Overview.html#terminology
                    -0, a subsection entitled "Terminology", it says: A
                    URL is a valid URL if at least one of the following
                    conditions holds: o The URL is a valid URI reference
                    [RFC3986]. o The URL is a valid IRI refer
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification: http://dev.w3.org/html5/spec/Overview.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
At http://dev.w3.org/html5/spec/Overview.html#terminology-0, a subsection
entitled "Terminology", it says:

A URL is a valid URL if at least one of the following conditions holds:

o The URL is a valid URI reference [RFC3986].
o The URL is a valid IRI reference and it has no query component. [RFC3987]
o The URL is a valid IRI reference and its query component contains no
unescaped non-ASCII characters. [RFC3987]
o The URL is a valid IRI reference and the character encoding of the URL's
Document is UTF-8 or a UTF-16 encoding. [RFC3987]

The problem that query components are interpreted in the document encoding is
acute for http:/https:, but not for mailto:, and hopefully not for any other
schemes. So the above text has to be changed to take this into account.
Because the conditions are or-ed together the simplest thing would be to add
another condition such as:

o The URL is a valid IRI reference and the scheme of the URL, potentially
after converting from relative to absolute form, is not http: or https:.

Regards,   Martin. (Martin Dürst, duerst@it.aoyama.ac.jp, please feel free to
contact me for further discussion)

Posted from: 133.2.210.73
User agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.9.168 Version/11.52

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 15 November 2011 09:51:50 UTC