clarin-eric / ParlaMint

ParlaMint: Comparable Parliamentary Corpora
https://clarin-eric.github.io/ParlaMint/
41 stars 52 forks source link

data ES-GA #616

Closed matyaskopp closed 1 year ago

matyaskopp commented 1 year ago

thanks for pull-requesting Galitian data. If error messages (https://github.com/clarin-eric/ParlaMint/actions/runs/4401851046/jobs/7708427209#step:4:27) not clear don't hesitate to ask here.

I recommend to start with:

add taxonomies to GitHub run local validations and fix schema issues

It validates files in this order:

and fails on the first error:

make val-schema-ParlaMint-ES-GA
find Data -type f -path "Data/ParlaMint-ES-GA/ParlaMint-ES-GA.xml" | xargs java  -jar /usr/share/java/jing.jar Schema/ParlaMint-teiCorpus.rng   
/PATH/Data/ParlaMint-ES-GA/ParlaMint-ES-GA.xml:6:101: error: character content of element "title" invalid; must be a string matching the regular expression "(\S)|(\S[\S ]*\S)"
/PATH/Data/ParlaMint-ES-GA/ParlaMint-ES-GA.xml:8:109: error: character content of element "title" invalid; must be a string matching the regular expression "(\S)|(\S[\S ]*\S)"
/PATH/Data/ParlaMint-ES-GA/ParlaMint-ES-GA.xml:25:42: error: element "orgName" not allowed here; expected element "persName"
/PATH/Data/ParlaMint-ES-GA/ParlaMint-ES-GA.xml:25:42: error: attribute "ref" not allowed here; expected attribute "from", "full", "notAfter", "notBefore", "to", "when" or "xml:lang"
/PATH/Data/ParlaMint-ES-GA/ParlaMint-ES-GA.xml:193:17: error: element "revisionDesc" incomplete; missing required element "change"
make: *** [Makefile:118: val-schema-tei-ParlaMint-ES-GA] Error 123
adina-v commented 1 year ago

Thank you! We're working on it.