The URI of a taxonomy term in Drupal is something like: http://path/to/drupal/taxonomy/term/1

But when requesting RDF serializations using the RESTws module, the RDF documents are not where expected, for instance: http://path/to/drupal/taxonomy/term/1.rdf

But at http://path/to/drupal/taxonomy_term/1.rdf, which generates URI like http://path/to/drupal/taxonomy_term/1

Therefore this generates an inconsistency on linking from nodes, where normally you get:

<http://path/to/drupal/node/1> a sioc:Item ;
  foo:bar <http://path/to/drupal/taxonomy/term/1> .

The RDF output of nodes is the right one, the issue is exporting taxonomy terms.

Maybe the code we are using for temporally fixing this wrong behavior, which also support aliases on taxonomy terms, could be valid as initial code to fix this issue: http://code.google.com/p/lmf/source/browse/lmf.inc?repo=drupal#351

Comments

scor’s picture

Status: Needs review » Closed (duplicate)

There is an older issue for this at #1673076: taxonomy_term does not match expected path for taxonomy terms, could you post your remarks there?