Re: [Fwd: [Htmlvalidator-help] Problem with multiple URLs in head profile=""]
Klaus Johannes Rusch <[email protected]> Mon, 01 Jan 2007 21:40:34 +0100
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Organization | atmedia.net |
| Message-ID | <[email protected]> |
Marc Gueury wrote: > I got this interesting question from a person (Andy) using the tidy > extension in Firefox (HTML validator). > The question is that I am not sure what to do. > > The problem is about: > > <head profile="http://www.ietf.org/rfc/rfc2731.txt > http://www.w3.org/2006/03/hcard"> > > Give: > line 5 column 1 - Warning: <head> escaping malformed URI reference > > It is right or not ? Should the space be replaced by a %20 or not ? Or > should Tidy forget to verify this particular attribute as an URL ? > Since it can be a series of URLs ? The W3c spec is this one : > http://www.w3.org/TR/WD-html40-970917/struct/global.html#h-8.3 > > If this is a real problem, I will log a bug and make a potential fix > for it. The HTML spec is somewhat inconsistent in that the attribute value is supposed to be a URI but the description allows for multiple URIs. Replacing the space by %20 results in a valid URI but probably not what the author had intended (which is, two URIs, except for the rare cases where a single URI actually contains spaces, which would need to be replaced by %20 or +). See http://sourceforge.net/tracker/index.php?func=detail&aid=1264455&group_id=27659&atid=390963 for a more detailed discussion of this issue. -- Klaus Johannes Rusch [email protected] http://www.atmedia.net/KlausRusch/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV