W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > March 2004

Re: extracting statements from RDF/XHTML

From: Danny Ayers <danny666@virgilio.it>
Date: Wed, 17 Mar 2004 12:27:10 +0100
Message-ID: <4058360E.7030604@virgilio.it>
To: Mark Birbeck <mark.birbeck@x-port.net>
Cc: 'Dan Connolly' <connolly@w3.org>, 'RDF in XHTML task force' <public-rdf-in-xhtml-tf@w3.org>, 'Jos De Roo' <jos.deroo@agfa.com>

Hi Mark,

>fn:get-namespace-uri-from-QName(@property);
>
>  
>
This does seem to fix up much of the potential for problems, though  I'd 
be interested to hear whether you've got a way around the situation 
where the XHTML gets passed through XML processing (minimal case - XML 
indent pretty printing)  where the prefix/namespace mapping within 
attributes can get lost.

---
Just a thought - in most cases there won't be too much risk of naming 
clashes within XHTML+RDF docs, so perhaps there might be an another 
route where the terms used  are exhaustively listed, something like:

<link href="http://purl.org/*dc*/elements/1.1/title" rel="title" />
<link href="http://purl.org/*dc*/elements/1.1/description" 
rel="description" />
...

<item property="title">The Three Bears</item>
Once upon a time there lived three very conventional bears, <item 
property="description">Mummy Bear, Daddy Bear and Baby Bear</item>...



Cheers,
Danny.
Received on Wednesday, 17 March 2004 06:27:27 GMT

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