zazuko / xrm

A friendly language for mappings to RDF
MIT License
1 stars 0 forks source link

csvw: Allow assignment of dialect on SourceGroup level #36

Closed mchlrch closed 4 years ago

mchlrch commented 4 years ago

Currently, dialect can only be assigned on LogicalSource. It should be possible to assign dialect also on SourceGroup level. If multiple CSV files in a project share the same dialect, it would make sense to put them in a group.

Resolution of dialect should work hierarchical, the same way as for type and source: https://github.com/zazuko/rdf-mapping-dsl/blob/master/com.zazuko.rdfmapping.dsl.parent/com.zazuko.rdfmapping.dsl/src/com/zazuko/rdfmapping/dsl/generator/ModelAccess.xtend#L19