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

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 UTC