As with Graves and Mariage, I've refactored all the XQuery main modules to namespace all variables. Also did some other cleanup, and found a couple of bugs that need fixing:
- data/xsl does not contain captions_module.xsl, a generated file which is needed by the search XQuery. Not sure why.
- When images are built into the XAR (and the flat-file site), their paths should all be collapsed to just images/* or graphics/*, which happens in /site/, but in the XAR the original paths appear to be preserved. That's just dumb, and I can't see why it's happening, but it should be a simple fix.
- Some key words need to be added to the stopword list such as "London" and "map".