veromary / divinum-officium

Automatically exported from code.google.com/p/divinum-officium
0 stars 0 forks source link

Automatic elimination of alleluia should not affect the martryology #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
http://divinumofficium.com/cgi-bin/horas/Pofficium.pl?date1=4-4-2012&command=pra
yPrima&version=Rubrics%201960&testmode=regular&lang2=English&votive=

What is the expected output? What do you see instead?
The martyrology read on this day tells of a lector who was struck down as he 
sang something: 'Lector, dum in pulpito "" cantaret, sagitta in gutture 
transfixus est.' The word which is missing, from both the Latin and the 
English, is "alleluia." Apparently it has been automatically eliminated by a 
regular expression substitution which does the right thing 99% of the time, but 
in this case has erred.

Since this is such a rare case, there's no rush to fix it, and we can think 
about the right way to do so. One approach would be to somehow escape the 
alleluia that should remain intact, and this could be done by replacing one of 
the letters with an HTML entity, so that the word no longer matches the 
pattern. However, an HTML entity might not be appropriate for other interfaces 
(e.g., Tcl/Tk).

Original issue reported on code.google.com by a...@liturgiaetmusica.com on 4 Apr 2012 at 9:39