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

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 UTC