rdf:XMLLiteral and the RDF namespace

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