wlpotter / csv-to-srophe

A set of XQuery modules for converting CSV data to Srophe-compliant TEI XML records. Developed for Syriaca.org
GNU General Public License v3.0
1 stars 1 forks source link

Validation error on tei:relation of `@type="contained-within"` in places #77

Open wlpotter opened 8 months ago

wlpotter commented 8 months ago

@dlschwartz I am getting a validation error when I run places through the transform that have a contained-within relation. Here is the current output:

<listRelation>
  <relation ref="skos:broader" name="http://www.w3.org/2004/02/skos/core#broader" type="contained-within" active="http://syriaca.org/place/5584" passive="http://syriaca.org/place/2763" resp="http://syriaca.org">
    <desc xml:lang="en">
      <placeName ref="http://syriaca.org/place/2763">Cappadocia</placeName>
    </desc>
  </relation>
</listRelation>

Errors I'm getting:

It looks like from Edessa we only use a @ref, with a namespaced "skos:broader" rather than the full URI?

Want to confirm that removing @name is correct before implementing

dlschwartz commented 8 months ago

@dlschwartz Update the schema to require the full skos uri (i.e. http://www.w3.org/2004/02/skos/core#broader) on these @ref attributes.

dlschwartz commented 8 months ago

@wlpotter the commit above has the schema change. I have not yet updated the data.