This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Description
Hi,
it appears to me that mapping a type and using the xmlns:<prefix>="<url>" definition creates the corresponding xmlns: html attribute for the element you chose to be your wrapper, which, as far as i understand and the w3c validator tells me, isn't allowed in html5, or at least deprecated, resulting in a 'Attribute xmlns: not allowed here' validation error at w3c, even though it is still processed.
See: http://www.w3.org/TR/rdfa-in-html/#backwards-compatibility
Rather than using xmlns:<prefix>="<url>" in html5 it seems to be advised to use prefix="<prefix>: <url>". or the vocab=<url> attribute for definition of the namespace without a prefix. The definition of both attributes in the mapping/type though will be ignored by the RdfDriverXml::loadType() function (and is probably semantically incorrect?)
An easy fix would probably be to translate the namespace definition in the mapping to the corresponding prefix attribute but i'm not really sure if this is good as it's only the html5+rdfa 1.1 spec that would be served by that?
This issue is a followup from https://groups.google.com/forum/#!topic/symfony-cmf-users/5TCfp2Xzups
Thanks for the read