msDesc / consolidated-tei-schema

TEI Manuscript Description ODD Customisation
https://raw.githubusercontent.com/msdesc/consolidated-tei-schema/master/msdesc.rng
BSD 2-Clause "Simplified" License
16 stars 7 forks source link

Rename Schema #2

Closed ahankinson closed 5 years ago

ahankinson commented 6 years ago

The 'bodley' part of the schema name reduces the likelihood that this can be used with projects outside of the Bodleian.

This schema should thus be renamed to reflect the wider nature of its application; perhaps rename it to 'ms-desc.(odd | rng)'?

Issue raised by @eifionjones.

ahankinson commented 6 years ago

Or perhaps 'consolidated-msdesc-schema.odd'?

eifionjones commented 6 years ago

Either would be fine for me!

andrew-morrison commented 6 years ago

Sorry it has taken me a while to get round to this. I'm still getting used to the various repositories and getting a feel for what's meant to be there and what probably should be tidied up.

This renaming is a "branding" issue, of sorts, so I guess the main thing is to rename the consolidated-tei-schema versions and search and replace all the xml-model PIs in all the Fihrist TEI XML files. But there are also copies of schemas elsewhere, such as...

https://github.com/bodleian/fihrist-mss/blob/master/bodley-msDesc.rng https://github.com/bodleian/medieval-mss/blob/master/collections/bodley-msDesc.rng

...the former isn't used. The latter is referenced in xml-model PIs in all the Medieval TEI XML files, as a relative path. Should these be deleted and everything pointed to the renamed consolidated-tei-schema versions? All copies are currently identical.

ahankinson commented 6 years ago

I would like to seem them updated to the new version -- @eifionjones , @holfordm : Would you be ok if we updated your files to point to a new schema?

eifionjones commented 6 years ago

Yep, fine with me!

andrew-morrison commented 6 years ago

Sorry, I'd forgotten about this. I've now renamed the schema files (to simply msdesc.odd and msdesc.rng) and updated Fihrist, Hebrew and Genizah TEI files so they reference the master copies here on GitHub:

<?xml-model href="https://raw.githubusercontent.com/bodleian/consolidated-tei-schema/master/msdesc.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://raw.githubusercontent.com/bodleian/consolidated-tei-schema/master/msdesc.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>

That does mean GitHub has to be available to validate the files, but it saves maintaining copies for each catalogue.

@holfordm: Do you want to update Medieval? Or let me know of a time slot when I can while you're not working on them?

holfordm commented 6 years ago

This seems to have lost the schematron rules that I added for the medieval catalogue. They seem to be in a separate branch that hasn't been merged https://github.com/bodleian/consolidated-tei-schema/blob/medieval-schematron/bodley-msDesc.odd (the first rule is not just for the medieval catalogue btw: it checks that the xmlid matches the filename, which is essential for the HTML and indexing processed.) @andrew-morrison can you merge the different branches, or feel free to adjust the schematron rules as necessary? I won't be doing any work on the catalogue this Friday the 26th, so that would be a good time to for you to update the medieval files - thanks.

andrew-morrison commented 6 years ago

OK, I'll merge the changes in that Medieval branch into the master here and update the Medieval files on Friday.

andrew-morrison commented 6 years ago

@holfordm: I've batch converted all Medieval TEI files to use the new schema name and master copy here on GitHub, the same now as Fihrist. Sorry, I haven't had time to merge the two versions of the .odd file, I'll do that next week.