- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 13 Sep 2006 12:30:48 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=3486 ------- Comment #13 from davidc@nag.co.uk 2006-09-13 12:30 ------- (In reply to comment #12) > But a relative base URI is only an error when the base URI declaration is > relative. I'm not sure what you mean by that, the base-uri in the static context should always be absolute (it should be an error, or undefined if the system defines it otherwise) However even if the base URI is absolute, specifying a relative uri (in any context) may generate an error if the base URI is not hierarchic, data:,foo for example is an absolute URI that ought to generate an error if a relative URI is used pretty much anywhere. > If the base URI is initialized (by the environment) to be relative, > it's accepted that I think should be an error. As defined in the specs, the base uri property is an _absolute_ uri (see the references in comment #0). The clarification here is to allow the uriliteral to be relative, not to allow the underlying property to be relative. > and that make the "The resulting absolute URI Reference" claim > for fn:doc(and any other assumption on absolute base URI) not hold. As I note above it may be that an attempt to form an absolute uri from a relative uri reference will fail even if the base uri is absolute. comment #3 says that this "is an error" (although it doesn't assign a code to it) > > Wouldn't it be easier if it just simply was an error if the base URI is > relative? I think that it has to be the case that it is an error if the base uri is relative but that can only happen if it is set from the external environment. a relative uri literal should be allowed (and is allowed by the WG's proposed resolution of this entry) but would bever result in a relative URI being the base uri in the static context. > It would cover all cases, as I see it. If not, the specs must be > edited to not assume the base URI is absolute, as I see it. > No, the specs should enforce that the base uri is absolute, but allow relative uri literals. David
Received on Wednesday, 13 September 2006 12:31:16 UTC