SupraSupraXML validation

From Digital Scholarship Group
Jump to navigation Jump to search

Agenda for SupraXML Validation

Already in supra:

  • page break apparatus: catchwords and page numbers present, catchword sequence OK, page number sequence OK
  • eyeball a uniqued set of your rendition ladders
  • ✓ test @reason and @desc of <gap> (make sure combination of values makes sense)
  • test @hand and @resp
  • ✓ check library keys
  • check for no comments, no $$$ and %%%
  • check for whitespace within phrase-level elements
  • ✓ make sure TR and OT numbers match
  • ✓ check for duplicate @gi on <tagUsage>
  • make sure number of pages in <extent> match number of page breaks, roughly
  • display signatures for eyeballing
  • some syntax checking of rendition ladders
  • check reasonableness of dates
  • ✓ checking namekeys (should just look them up)
  • ✓ check that content of <extent> is member of controlled vocabulary (should be constrained in schema)
  • ✓ [no longer relevant, we have no <language> elements (nor <langUsage> elements] check that content of <language> is correct (should be constrained in schema)
  • ? check that <persName> is inside <speaker>
  • ✓ check that <orig> is not in <mw> or in <orig> (warning)
  • ✓ <l> descendant of <l>
  • ✓ check type and ancestry of notes

To add:

  • ✓ @next and @prev point to the right thing
  • ✓ check personography directly
  • ✓ check that @target actually points to the element whose @corresp points back to the targeting element
  • ✓ check that @who points to a cast list
  • ✓ check other pointers
  • ✓ check that the <idno type="URL"> matches the filename (probably via SVN keyword)