W3C home > Mailing lists > Public > public-rdfa@w3.org > August 2009

Undeclared prefix in @datatype -- what happens?

From: Richard Cyganiak <richard@cyganiak.de>
Date: Wed, 26 Aug 2009 19:12:29 +0100
Message-Id: <A5A9492D-2703-4283-9433-6FFD8D1A05FC@cyganiak.de>
To: Public RDFa <public-rdfa@w3.org>
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?

Cheers,
Richard
Received on Wednesday, 26 August 2009 18:13:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:04 UTC