-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
@lmwilson Here's a recap to help us both take stock of where we are! While I was visiting you, I was working on two schema files for our project which we're now testing:
- The new schema for the si and si_Add files to codify the new occupation element and its
@type
and@subtype
and the revised@sortKey
(That's in the DM_SiteIndex repo and you and I are currently testing that schema on the si_Add files and a locally copy of the full SI. The schema is a local association--just sitting in your local GitHub directory. If I push changes to that schema, you'll get them when you do agit pull
).
- Elisa's task: I need to edit our
@sortKey
and simplify ourlistBibl
lists according to what we worked out on the full SI, and I need to find a new way for us to code the Mitford editing team lists so we're not using the<occupation>
element to list where we work. - Lisa's task: You're working on the
si_Add
files and making sure the schema the new SI schema is working the way we expect it to when we're preparingsi_Add
files for addition to the new SI. - We're likely going to need to edit the occupations list in the schema with input from @Samwebb64 (and maybe others). (When it's time to update that schema, you and I can do that together online if you like, or I can do a revision in the schema and highlight for you the lines I'm modifying, so you can see how to update the ODD file and make a new schema out of it.)
- The other ODD schema I'm developing is for the full project team working on edition files. This is the Digital Mitford Project ODD and it's posted now on this
DM_documentation
repo (where I'm posting this ticket). We're still testing this schema, too--it's not quite ready for release on all the project files. Here are some instructions on how to access and test this schema for now (and we'll turn this into formal documentation after a little more testing):
- Take a Mitford project file, and comment out its existing schema lines. (Leave the
?xml
line at the very top alone--don't delete it. Just comment out all the other schema lines, including the ones associated with the TEI-All, so we can put them back if we want to and compare the old schema checking to the new one.) - Copy the schema lines below, and paste them in at the top of the edition file, before its TEI root element.
- NOTE that this schema requires an active internet connection. It's also likely to take a few minutes for all the schema rules to run and check (and it will run slow even if we worked out a local file association--ODD schemas seem to be slow-firing, but they're supposed to be super-informative, with lots of project documentation packed inside.)
Schema lines:
<?xml-model href="https://digitalmitford.github.io/DM_documentation/MitfordODD/out/mitfordODD.rng"
type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://digitalmitford.github.io/DM_documentation/MitfordODD/out/mitfordODD.rng"
type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
Things to work on might include proofing/correcting/refining the validation messages, in addition to making sure stuff works as we expect! Once we're pretty confident things are working, we'll associate these schemas on all our files and get the full team working with them.