Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing New ODD-Generated TEI Schemas for SI and Project Edition Files #2

Open
ebeshero opened this issue Aug 14, 2018 · 3 comments
Open
Assignees

Comments

@ebeshero
Copy link
Member

ebeshero commented Aug 14, 2018

@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:

  1. 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 a git pull).
  • Elisa's task: I need to edit our @sortKey and simplify our listBibl 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 preparing si_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.)
  1. 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.

@ebeshero
Copy link
Member Author

@lmwilson To read the Mitford ODD documentation and look up our project elements, you can point a web browser here for the Project ODD: https://digitalmitford.github.io/DM_documentation/MitfordODD/mitfordODD.html

@ebeshero
Copy link
Member Author

We can think of that link (https://digitalmitford.github.io/DM_documentation/MitfordODD/mitfordODD.html ) as our Digital Mitford project gateway to the TEI. You can find your way to the TEI Guidelines and chapters from within our ODD and see how we're customizing the elements and attributes for the project on the same page--it's basically our customized TEI look-up on the web.

@ebeshero ebeshero changed the title New ODD-Generated TEI Schemas for SI and Project Edition Files Testing New ODD-Generated TEI Schemas for SI and Project Edition Files Aug 14, 2018
@Samwebb64
Copy link

@ebeshero @lmwilson
I'm going to post a Word file of occupations in Box, in the SI folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants