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

Re: Undeclared prefix in @datatype -- what happens?

From: Damian Steer <pldms@mac.com>
Date: Wed, 26 Aug 2009 20:17:51 +0100
Cc: RDFa <public-rdf-in-xhtml-tf@w3.org>
Message-id: <989721D9-17B0-422C-90C2-A58BCDC703B4@mac.com>
To: Richard Cyganiak <richard@cyganiak.de>

On 26 Aug 2009, at 19:12, Richard Cyganiak wrote:

> All,
> One of the more iconic RDFa-enabled pages on the Web is this one:
> http://www.myspace.com/parishilton
> As has been pointed out before, it's slightly broken, because the  
> xsd: namespace is used in @datatype, but undeclared in the document.
> Now I wonder what a conformant RDFa parser should do when confronted  
> with an undeclared namespace in @datatype? Ignore the triple? Ignore  
> the @datatype? Assume the empty string as prefix URI? Halt and catch  
> fire?

fwiw, my vote is for ignoring the triple. Producing a wonky literal is  
simply annoying. Halting doesn't seem to be in the spirit of RDFa.

However in practice I'd assume the xml schema namespace and repair it.

Received on Wednesday, 26 August 2009 19:18:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:32 UTC