Use a local DTD file, if one is available
I think there was an attempt at some point to recognize and use a local DTD file if one existed, rather than always using the one on the CIT server ( http://ldas-sw.ligo.caltech.edu/doc/ligolwAPI/html/ligolw_dtd.txt ). This would probably speed up publishing and would improve resilience, since currently publishing stops when the ldas-sw.ligo.caltech.edu
server goes offline, Apache on that server is turned off, etc.
There is an old commit that did something like this here ( e8d2eb25 ), but obviously that bypass is not being used (and might not even apply - I haven't traced through the code to see where this should happen in the current code). It would probably be best to first see if that code should be using the local DTD file, if so, then check if that file exists, if so, then figure out why it isn't working.