HistoryAtState / frus

Foreign Relations of the United States - TEI XML source files
https://history.state.gov/historicaldocuments
35 stars 14 forks source link

Create a standalone frus.sch for vendors #280

Open joewiz opened 3 years ago

joewiz commented 3 years ago

Currently, frus.sch references another schematron file, by means of an <extend> element. See https://github.com/HistoryAtState/frus/blob/master/schema/frus.sch#L19. As a result, vendors need this additional file to be able to validate FRUS files for delivery.

Ideally, we can provide a vendor with a single schematron file that is free of dependencies, containing all checks that should pass before delivery.

To accomplish this, we should create a new, standalone, base schematron with checks for the vendor, and then handle subsequent layers via additional schema. Instead of the <extend> element, we can define schema sets via oXygen's Schema Association feature, which we already use to associate multiple schema files with a directory.

WaxCylinderRevival commented 3 years ago

N.B.: We use phased schematrons purposefully for dates enhancement work.

Please consult the Editing and Publishing Division to request changes to any dates schemas for FSI/OH use. Thank you!