Swirrl / table2qb

A generic pipeline for converting tabular data into rdf data cubes
Eclipse Public License 1.0
13 stars 4 forks source link

Attempting to render a template with missing variables should raise an error #133

Open Robsteranium opened 4 years ago

Robsteranium commented 4 years ago

It's possible to render a uri template with a variable that doesn't exist.

The result is that an empty string (nothing) is interpolated into the template.

This is probably never intentional - perhaps having a variable explicitly defined as "" but certainly never an implicit empty string.

We ought to raise an exception e.g.

template variable foo is undefined in template http://example.net/{foo}, available variables: bar, baz