tmlab / tmql

Automatically exported from code.google.com/p/tmql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fn:best-identifier similar to fn:best-label

GoogleCodeExporter opened this issue · comments

We need a fn:best-identifier which delivers a stable identifier for a given 
topic.

best-identifier should be in following ordering a
1. subject identifier (si)
2. subject locator (sl)
3. item identifier (ii)
if several identifier of the same type are present the shortest should be 
choosen (e.g. there are two si -> choose shortes si regardless of sl or ii).
The returned identifier should be prefixed with its type e.g.
si:http://example.com/something

Original issue reported on code.google.com by michael....@gmail.com on 12 Jan 2011 at 5:50

The method will be added to majortom first:

http://code.google.com/p/majortom/issues/detail?id=82

Than the method will be added as function to tmql4j-majortom

Original comment by Sven.Kro...@googlemail.com on 13 Jan 2011 at 8:46

  • Changed state: Started
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

Original comment by Sven.Kro...@googlemail.com on 13 Jan 2011 at 9:11

  • Changed state: Fixed