Closed (works as designed)
Project:
Drupal core
Version:
7.x-dev
Component:
rdf.module
Priority:
Minor
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
10 Dec 2010 at 13:10 UTC
Updated:
12 Dec 2013 at 22:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Blooniverse commented... wrong coding above. It should be:
... or:
Comment #2
damien tournoud commentedThe part after the "xmlns" (the namespace prefix) is completely arbitrary. It could be:
It would just work the same. I don't believe there is any bug here.
Comment #3
Blooniverse commentedCorrect (arbitraryness)! Exactly this fact makes it inevitable to be clear in language AND in expression.
A house is a house, and a donkey is a donkey. I wouldn't like to ride on a house and live in a donkey, would you? ;) Linguistic stuff should NOT be arbitrary in its meaning.
Comment #4
Blooniverse commented... it is the semantic web, after all!!!
Comment #5
damien tournoud commentedRoll a patch if you feel strongly about this :)
Comment #6
Blooniverse commented... I will. This is a MUST! Cannot stop the fire burning in me ;)
Comment #7
damien tournoud commentedThis cannot be done without an API change (modules using that namespace will stop working).
Comment #8
Blooniverse commented... here the patches according to the diff guidelines of Drupal.org.
Comment #10
Blooniverse commentedDear system,
Since I am not the maintainer respecively developer of this module, I cannot fix these occurences. The only thing my patches should optimize are the Dublin Core namespaces.
Thank you for your attention,
Philipp Schaffner
Comment #11
Blooniverse commentedProbably it is better to leave things as they are (namespace prefix 'dc:' refering to http://purl.org/dc/terms/). Several reasons:
Nonetheless, I have two questions left to ask you RDF guys and girls:
Comment #13
scor commentedthe dc prefix was purposely bound to the http://purl.org/dc/terms/ namespace, since the older http://purl.org/dc/elements/1.1/ namespace is being phased out.
Comment #14
hughbris commentedCould you expand on this? (#7) I think there's a lot of confusion in this issue's thread between namespace prefixes and namespaces themselves (which are URIs). If there are modules relying on the prefix that can't accept something like say, "letsthrowaparty", as a prefix, then it seems it's the modules that have the bug, or perhaps the API they are using. I can't be sure because there isn't enough detail in your comment.
And yes, for the record, I am in favor of using conventions for namespace prefixes where they exist. It's not required but it is good practice. Drupal core should aspire to that.
(also: sorry, admittedly I've come into this from a search and have no real context)
[edited to make it clear which post I'm replying to]
Comment #15
scor commented@hughbris What @Damien Tournoud was referring to in #7 is that modules using the dc: prefix would then break if you changed their namespace on them.
@the_phi #11 the og namespace has been fixed to dereference. Re the SKOS namespace, http://www.w3.org/2004/02/skos/core# is the official namespace as specified in the SKOS specification. This namespace support content negotiation which will serve the appropriate format (HTML or RDF) depending on the client requesting the namespace. Nothing to fix here.
Comment #16
Blooniverse commentedThanks, @scor, for the explanation. I was probably a bit exited last year about the semantic web ;) Wanted to have things really precise or something like that.
Comment #17
David Lesieur commented"Works as designed" seems to better summarize the discussion than "Fixed" as no change was made.