Handling of the gap element
Posted by mholmes on 22 Apr 2014 in Activity log
SM raised the issue of <gap>
, which was not really handled properly, but which is needed. This is what we've done:
- Copied the values from
<supplied>
/@reason to<gap>
/@reason in the schema. These two attributes are defined directly on their elements, but their definitions are currently duplicated and we expect to keep them in sync. - Made @reason mandatory on both
<supplied>
and<gap>
. This resulted in a few validation errors in mayoral shows, which SM will fix. - Added handling for
<gap>
to the XSLT (tested on dev and ported to live). The reason is expanded using boilerplate text into a title attribute, and the gap element itself is replaced by an ellipsis in square brackets.
SM will ask TL to add documentation for <gap>
to Praxis.