Nested mark-up and XML literals [was RE: comments on nodeID in RDF/A]

Jeremy,

> 2)
> I am unclear how the object rules determine whether XML 
> content within 
> an element without an href or content attribute is:
> - further metadata markup
> or
> - the literal object of the triple
> 
> e.g.
> 
> in
> 
> <link rel="foaf:mbox" href="mailto:daniel.brickley@bristol.ac.uk">
>      <link rel="foaf:knows">
>          <link rel="foaf:mbox" 
> href="mailto:libby.miller@bristol.ac.uk" />
>      </link>
> </link>
> 
> what stops the output being, roughly
> 
> _:a foaf:mbox mailto:daniel.brickley@bristol.ac.uk.
> _:a foaf:knows "<link rel='foaf:mbox' 
> href='mailto:libby.miller@bristol.ac.uk' />"^^rdf:XMLLiteral.
> 
> (XMLLiteral modulo excl XML c14n)
> 
> Such a reading would seemed forced if say there was a typo 
> using <linx> 
> instead of <link> as the innermost element tag ... :(


The difference is dictated by the use of the @rel/@rev attributes, versus
the @property attribute. The latter says that its object is *always* a
literal, the former that it is *always* a URIref.

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 Monday, 25 October 2004 16:59:44 UTC