22/03/17

Permalink 04:42:29 pm, by mholmes, 21 words, 6 views   English (CA)
Categories: Activity log; Mins. worked: 90

Graves: CSV dataset for ContentDM

Finished building the spreadsheet for ContentDM for JF. Found and fixed some broken fallout from old ANSI chars in the process.

Permalink 04:41:21 pm, by mholmes, 31 words, 6 views   English (CA)
Categories: Activity log; Mins. worked: 120

Mariage app now deployed

RE fixed the ACL issue that was blocking our access, and although it's still nailed down to the HCMC VLAN, it's working well. Fixed a couple of bugs in the controller.

21/03/17

Permalink 03:25:34 pm, by mholmes, 26 words, 8 views   English (CA)
Categories: Activity log; Mins. worked: 60

Graves: output utility for ContentDM/Library

Wrote a simple new utility XSLT to generate data for the Library, following JF's requirements; also a fix to an encoding issue revealed by this process.

16/03/17

Permalink 04:53:13 pm, by mholmes, 51 words, 9 views   English (CA)
Categories: Activity log; Mins. worked: 60

Diagnostics: two steps forward, one step back

JT's new super-fast regex-based approach is working well for Linux and Mac, but one small function in it breaks things on Windows; I think it's an XPath regex which needs double-escaping instead of single-escaping. Meanwhile, the process itself is throwing up huge numbers of errors we can work on in MoEML.

13/03/17

Permalink 01:22:56 pm, by mholmes, 86 words, 5 views   English (CA)
Categories: Activity log; Mins. worked: 180

Diagnostics: progress and bugfixes

We are aiming to produce a product for general use by the time of the DH conference presentation, and to add info about it to an edited version of the conf paper due at the end of the month, so pushing forward with more straightforward stuff this morning. Added file-existence checking for XML and text files; experimented with methods of checking for the existence of binary files, but so far I've only found things that work in Saxon PE or EE. This approach might work, though.

09/03/17

Permalink 04:37:55 pm, by mholmes, 123 words, 5 views   English (CA)
Categories: Activity log; Mins. worked: 180

Diagnostics: using a Java dialog; JavaScript in Windows

Following up on a hint from RC at Oxygen, I figured out how to use a Swing JFileChooser dialog to let the user select their project directory, directly from ant; this is neat and very useful. It took a while to nail down exactly how best to do it, and I still have some cleanup to do to make the process fail more elegantly if the user cancels out of the dialog, but we're nearly there. Haven't tested on Windows yet either.

In the morning, I did a pile of work to get the output page JavaScript working in Windows. It was substituting Windows line-endings in the script, which the serializer was then escaping to numeric entities; took some wrangling to prevent that.

08/03/17

Permalink 04:42:49 pm, by mholmes, 51 words, 5 views   English (CA)
Categories: Activity log; Mins. worked: 90

Diagnostics: added instructions page

This is defined as a document type so that it opens in Author mode and has the ant scenario associated with it, so users can carry out the action as they're reading the instructions. Fixed a couple of other bugs arising out of changing from @target only to full any-attribute mode.

07/03/17

Permalink 04:47:37 pm, by mholmes, 41 words, 4 views   English (CA)
Categories: Activity log; Mins. worked: 60

More work on Diagnostics

Today I wrote code to process the IANA Language Subtag Registry into an almighty regex that can validate @xml:lang values, and then built that into the diagnostics. It seems to work well. The regex is the largest I've ever used.

06/03/17

Permalink 05:00:47 pm, by mholmes, 75 words, 5 views   English (CA)
Categories: Activity log; Mins. worked: 180

More work on Diagnostics

I've tweaked quite a bit so that we don't check attributes that definitely can't be pointers, and so that when looking for a prefixDef we look first in the host file. I ran the process against the whole Mariage dataset and got some interesting results that were very helpful, causing me to go and fix the Mariage consistency checks, and write some other stuff for Mariage that fixes common linking errors not previously being reported.

02/03/17

Permalink 04:26:32 pm, by mholmes, 86 words, 7 views   English (CA)
Categories: Activity log; Mins. worked: 240

Endings diagnostics stuff coming along

Fairly major overhaul of the original code, to do this:

  • Handle all attributes, rather than trying to figure out which might be pointers.
  • Determine instead whether a token value in the attribute is some kind of pointer.
  • Resolve prefixDef/private URI schemes.
  • Handle paths on Windows. This took some wrestling.
  • Calculate the date in the ant script instead of getting it from Oxygen.
  • Format the output much more effectively.
  • Add tests for simple cases.

Lots more to do, of course, but this is coming along nicely.

:: Next Page >>

Endings

Blog for the SSHRC-funded Endings project, 2016-2020

Reports

Categories

March 2017
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

XML Feeds