Active
Project:
Taxonomy import/export via XML
Version:
6.x-1.3
Component:
RDF/XML format
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2011 at 20:19 UTC
Updated:
11 Jan 2011 at 20:47 UTC
My RDF/XML states:
Chronic diseasesChronic illnesses
but the taxonomy terms generated is
"Chronic illnesses (Chronic diseases)"
Shouldn't this be "Chronic diseases (Chronic illnesses)"?
Is this a bug? A poorly written RDF? Or I just don't know what I'm talking about?
thanks,
jyg
Comments
Comment #1
jyg commentedUgh... my XML got interpreted :p So here are the pertinent lines from the RDF
Comment #2
dman commentedHm.
skos:altLabel is registered as a possibly synonym. skos:prefLabel is supposed to be used as the term name.
So our expectations are ok so far.
However, things get tricker (start making guesses) when xml:lang and synonyms are used. In those cases (based only on the examples I've encountered so far) the system gathers all the possible labels together in an array, then picks one from the preferred language off the top and displays the rest as a (list) after. Not optimal in all cases of course, but as I said, it's guesswork to get what is probably wanted without actually throwing away data.
Based on my expectations, I would NOT have expected this to be causing it to actually create terms with a NAME that was conflated with the synonym though. If the record has one name, that name should just get set. The guesswork described above should only happen if there are several synonyms but no prefname.
I can't see where this would be setting the wrong term->name. I can't right now see the code that would have created a string that looks like that.