freme-project / e-Link

Apache License 2.0
0 stars 0 forks source link

Behaviour unknown entity #27

Closed ghsnd closed 9 years ago

ghsnd commented 9 years ago

When posting a document to e-Link with a resource (entity) that doesn't exist, this entity is ignored. If this is the expected behaviour, can it be added to the documentation? Another option for instance could be that an error is returned saying that there is an unexisting resource.

Just to be sure while testing e-Link.

m1ci commented 9 years ago

In fact, selected template is executed for each entity (resource with assigned itsrdf:taIdentRef information) in the document. If an entity provided in a document does not exist in the dataset (used by the template), then the entity will not be enriched with additional information. Checking if every entity in document exists (is dereferenceable), I think, will add much overhead. Or?

ghsnd commented 9 years ago

Fine! I was just thinking that this behaviour was not documented (this might confuse end users).

m1ci commented 9 years ago

will provide better description of the behaviour in the docs. Thanks for this note.