Log in

HCMC Journal

LEMDO 2025-11-10 to 2025-11-14

to : Martin Holmes
Minutes: 385

On Monday, worked on some diagnostics and did some ticket triage.

On Wednesday, fixed a build break.

On Thursday, waded into the complicated issue # 215, and started fixing all the @data- attributes in our output which are camel-cased, given that the VNU validator will at some point start insisting on all-lower-case names for these attributes. The @data-catRefs attribute was the most complicated one, because for consistency I’ve changed it to @data-cat-refs, whereas a great deal of existing CSS code already referred to it as @data-catrefs (which means, presumably, that CSS ignores case when it comes to these attributes, since the camel-cased version was what appeared in the output). Lots of changes were required for that specific attribute, but for the others which are derived from camel-cased TEI attributes, it seems to have been sufficient just to change the XSLT, since there was no sign that JS or CSS was making any use of them. The annotation and collation marker attributes, which are used extensively by the JS and CSS, though, still remain to be done, and part of the work there involves simply shortening them, to reduce HTML file sizes for densely-annotated texts. Initial builds failed to render collation and annotation functions correctly, but I was able to track down and fix the problems.

On Friday, started cautiously reducing the length of some identifier and class values. Corresponding changes have to be made at the same time across XSLT, CSS, and JavaScript, so it’s important to go in stages and keep testing locally before committing. By the end of the day I had completed all straightforward changes, and closed the issue.