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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 29 Mar 2007 20:38:50 +0200
To: "Chris Lilley" <chris@w3.org>
Cc: "Jeff Schiller" <codedread@gmail.com>, public-cdf@w3.org, tor@acm.org, "Jonathan Watt" <jwatt@jwatt.org>, longsonr@gmail.com
Message-ID: <op.tpyre00664w2qv@id-c0020>

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?

Definitely (assuming the correct namespace declarations). In HTML5  
<html:a> is defined in terms of xml:base / baseURI. target="" however is  
defined in terms of <html:base target=""> and <html:a target="">.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Thursday, 29 March 2007 18:39:18 GMT

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