Warnings in the beta version

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
alnico
Rank I - Novice
Rank I - Novice
Posts: 15
Joined: Mon Jun 21, 2010 4:07 am

Warnings in the beta version

Post by alnico »

I am using the v10.0 BETA 4 to check my code, and have the following issues.

LINK
I use this tag: <link rel="last" href="eng/history14.php" /> in the <head> section. HTML Validator throws this error: "The "rel" attribute contains an unrecognized value "last". Make sure this value is correct." Considering that it does not throw up errors for rel=glossary, rel=first etc, I think this is a bug that needs to be fixed

My next error uses this code: <link rel="P3Pv1" href="/w3c/p3p.xml" />. I get this error: "The "rel" attribute contains an unrecognized value "P3Pv1". Make sure this value is correct." However the code is a valid w3c recommendation. Please see: http://www.w3.org/TR/P3P/ (Section 2.2.3 and 2.2.4)

Thirdly, I used the Dublin core metadata: <link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" /> which also returns the following error: "The "rel" attribute contains an unrecognized value "schema.DCTERMS". Make sure this value is correct." This information is present on the dublin core website: http://dublincore.org/documents/dc-html/

Hope these can be resolved in the final version.

Thanks,
Nicholas

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3478
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Warnings in the beta version

Post by Albert Wiersch »

These should be recognized in the release version.

Also, don't forget that you can disable that message for specific "rel" values by right-clicking on it and choosing Options for this Message->Disable using Exact Text Match. So if you encounter another "rel" value that you want to ignore, then you can select that option. However, if the value should be recognized by default, then please let me know about it so that I can add it to the recognized list of "rel" values.

Thanks!

alnico
Rank I - Novice
Rank I - Novice
Posts: 15
Joined: Mon Jun 21, 2010 4:07 am

Re: Warnings in the beta version

Post by alnico »

Hi Albert, thanks for the quick reply.

Yup, the values should be recognised by default.

I have made a list of what should be recognised.

*<link rel="last" href=
*<link rel="P3Pv1" href=
*<link rel="schema.DCTERMS" href=
*<link rel="profile" href=


Additionally, I would like to draw attention to the purl.org redirection service that a lot of RDFa to redirect to their definition page.

=PROBLEM=
By default, HTML Validator throws up a warning regarding redirects.

=DESCRIPTION=
This is an important bug because RDFa are increasingly using purl.org, so you would not want users to be caught unaware and inadvertently fixing url redirects for compliance.

=PROPOSED SOLUTION=
I would like to see redirects from purl.org as a comment instead of a error.

Regards,
--Nicholas

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3478
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Warnings in the beta version

Post by Albert Wiersch »

alnico wrote:I have made a list of what should be recognised.

*<link rel="last" href=
*<link rel="P3Pv1" href=
*<link rel="schema.DCTERMS" href=
*<link rel="profile" href=
Thanks. These should all be recognized in the release version.
alnico wrote:Additionally, I would like to draw attention to the purl.org redirection service that a lot of RDFa to redirect to their definition page.
I like that idea... perhaps there should be a way to specify which redirected urls should be considered "good", like the one you mention as well as services like the popular tinyurl.com. I will make a note of this for a possible future addition, but it's too late to add it in v10.00.

alnico
Rank I - Novice
Rank I - Novice
Posts: 15
Joined: Mon Jun 21, 2010 4:07 am

Re: Warnings in the beta version

Post by alnico »

Ummn, I'm still getting a warning for

Code: Select all

<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
in version 10 professional.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3478
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Warnings in the beta version

Post by Albert Wiersch »

alnico wrote:Ummn, I'm still getting a warning for

Code: Select all

<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
in version 10 professional.
OK, I've added that (schema.DC) as well, for the next update.

Thank you!

Post Reply