logo       

[ tidy-Bugs-1264455 ] Multiple URLs in profile incorrectly modified: msg#00073

web.html-tidy.tracker

Subject: [ tidy-Bugs-1264455 ] Multiple URLs in profile incorrectly modified

Bugs item #1264455, was opened at 2005-08-20 01:08
Message generated for change (Settings changed) made by hoehrmann
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1264455&group_id=27659

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HTML/XML/XHTML Parser
Group: Current - all platforms
>Status: Pending
>Resolution: Wont Fix
Priority: 5
Submitted By: Klaus Johannes Rusch (krusch)
>Assigned to: Björn Höhrmann (hoehrmann)
Summary: Multiple URLs in profile incorrectly modified

Initial Comment:
Multiple URLs in the profile attribute of a head
element are incorrectly converted into a single URL
with escaped whitespace, for example

<head profile="http://gmpg.org/xfn/11
http://dublincore.org/documents/dcq-html/";>

becomes

<head
profile="http://gmpg.org/xfn/11%20http://dublincore.org/documents/dcq-html/";>

and a warning is issued:
line 2 column 1 - Warning: <head> escaping malformed
URI reference

HTML 4.01 reference:
http://www.w3.org/TR/REC-html40/struct/global.html#h-7.4.1

profile = uri [CT]
This attribute specifies the location of one or
more meta data profiles, separated by white space. For
future extensions, user agents should consider the
value to be a list even though this specification only
considers the first URI to be significant.



----------------------------------------------------------------------

>Comment By: Björn Höhrmann (hoehrmann)
Date: 2005-08-20 01:15

Message:
Logged In: YES
user_id=188003

It says "profile = uri" and that's what's been implemented
in Tidy ever since. This is a known problem with the HTML
and XHTML specifications. I'm happy to change Tidy's
behavior once the W3C clarifies this issue. I think it's
pretty clear that in HTML 4.01 and document types that
build on it only a single URI is allowed and the above just
describes error handling behavior. This is quite evident
from even recent specifications like the M12N in XML Schema
where the anyURI type is used here instead of list types.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1264455&group_id=27659


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise