W3C home > Mailing lists > Public > public-cdf@w3.org > March 2007

Re: Resolving Relative URIs and Link Targets in a Compound Document

From: Chris Lilley <chris@w3.org>
Date: Thu, 29 Mar 2007 21:08:02 +0200
Message-ID: <148840904.20070329210802@w3.org>
To: "Anne van Kesteren" <annevk@opera.com>
Cc: "Jeff Schiller" <codedread@gmail.com>, public-cdf@w3.org, tor@acm.org, "Jonathan Watt" <jwatt@jwatt.org>, <longsonr@gmail.com>

On Thursday, March 29, 2007, 8:38:50 PM, Anne wrote:

AvK> On Thu, 29 Mar 2007 20:35:33 +0200, Chris Lilley <chris@w3.org> wrote:
>> Anne, what would you expect for the inverse case:
>>
>> <svg xml:base="whatever">
>>   <foreignObject>
>>    <html><head><title>xml:base test</title></head>
>>    <body><p>
>>     <a href="relative-URI">test</a>
>>    </p></body></html>
>>   </foreignObject>
>> </svg>
>>
>> would the html:a pick up the xml:base from the surrounding context?

AvK> Definitely (assuming the correct namespace declarations).

I was going to type those in but figured people would understand the
example without, as the earlier example was also lacking them and I
had a telcon coming up.

AvK>  In HTML5
AvK> <html:a> is defined in terms of xml:base / baseURI. target="" however is
AvK> defined in terms of <html:base target=""> and <html:a target="">.

So html:target is defined to ignore xml:base?




-- 
 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Thursday, 29 March 2007 19:08:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:41 GMT