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>

One of the more iconic RDFa-enabled pages on the Web is this one:

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  

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:43 UTC