W3C home > Mailing lists > Public > public-rdfa@w3.org > April 2010

rdf:XMLLiteral and the RDF namespace

From: Hondros, Constantine <Constantine.Hondros@wolterskluwer.com>
Date: Wed, 28 Apr 2010 17:07:40 +0200
To: "public-rdfa@w3.org" <public-rdfa@w3.org>
Message-ID: <6C01B6D23EB50A4487054D57249A0B0109E6644749@EUSRVWK01005.eu.wkeurope.com>
While debugging my RDFa extractor implementation, I found that if the source XHTML document does not contain a definition of the RDF namespace, I can't process XML literals which are explicitly typed using @datatype="rdf:XMLLiteral".

In a nutshell, since @datatype is defined as a CURIE, the attribute value "rdf:XMLLiteral" should be resolved to:

    http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral<BLOCKED::http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral>

... however it can only do this if the rdf prefix is properly defined in the XHTML document.

It seems to me that either:

1) the RDF prefix and namespace should be obligatory if the datatype rdf:XMLLiteral is used
or
2) RDFa parsers should interpret "rdf:XMLLiteral" literally. (And I guess it should not be possible to reuse the "rdf" prefix to define an arbitrary namespace)

Thoughts anyone?

Regards,
C.


________________________________
This email and any attachments may contain confidential or privileged information
and is intended for the addressee only. If you are not the intended recipient, please
immediately notify us by email or telephone and delete the original email and attachments
without using, disseminating or reproducing its contents to anyone other than the intended
recipient. Wolters Kluwer shall not be liable for the incorrect or incomplete transmission of
of this email or any attachments, nor for unauthorized use by its employees.

Wolters Kluwer nv has its registered address in Alphen aan den Rijn, The Netherlands, and is registered
with the Trade Registry of the Dutch Chamber of Commerce under number 33202517.
Received on Wednesday, 28 April 2010 15:08:15 UTC

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