W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2011

[Bug 13821] href attributes not being restricted to valid URIs

From: <bugzilla@jessica.w3.org>
Date: Fri, 19 Aug 2011 00:14:24 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1QuCjA-0001Zi-4F@jessica.w3.org>

--- Comment #3 from Ben <sepster@internode.on.net> 2011-08-19 00:14:22 UTC ---
I appreciate that the DTD does not enforce a valid URI (in fact, most data
"types" defined there are just CDATA??).

So the point you're making I think is that the href example I've given is
"valid", but does not "conform".

But the help page for this validator states the following:

Is validity the same thing as conformance?

 No, they are different concepts. 

Markup languages are defined in technical specifications, which generally
include a formal grammar. A document is valid when it is correctly written in
accordance to the formal grammar, whereas conformance relates to the
specification itself. The two might be equivalent, but in most cases, some
conformance requirements can not be expressed in the grammar, making validity
only a part of the conformance. 

I understand and agree with this statement.

But my point is that the ACTUAL specification for a uri IS defined in a formal
grammar within a technical specification (the RFC I referenced earlier).  While
the DTD may be A specification (that the validator uses) and does include A
formal grammar, it's not THE specification that properly defines a valid URI.

In short, the DTD does not properly reflect what is specified with the defining
grammar, and hence the validator is not properly validating.

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 Friday, 19 August 2011 00:14:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:46 UTC