On xml:base [was RE: XHTML 2.0 metainfo question (Correction!!!)]

Dan,

> iv)  xml:base, relative URIs in ns declarations etc?
>
> eg. test case:
>
> <link xmlns:foaf="/foaf/0.1/" xml:base="http://xmlns.com/" 
> rel="foaf:maker">
>   <meta property="foaf:name">Dan Brickley</meta>
>   <link property="foaf:homepage" resource="http://danbri.org/"/>
>   <link rel="foaf:knows">
>     <meta property="foaf:name">Dan Connolly</meta>
>   </link>
> </link>
> 
> ...does this generate the same triples?

Namespaces are not currently regarded as being relative to xml:base,
although XML Base does leave things open for applications to 'honour'
xml:base at some higher level if they want to. However, I suggest we don't
go that route ;). We should of course make @about and @resource behave
according to xml:base, though.

So, to answer the question, I would say that your XML Base example should
*not* generate the same triples as the first example.

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/

Download our XForms processor from
http://www.formsPlayer.com/

Received on Wednesday, 4 August 2004 06:22:37 UTC