Like MH, spent most of the day fixing CSS syntax errors. I decided to write a process that goes at the beginning of the validation build that creates a bunch of small CSS files for validation against the VNU; each separate node becomes a CSS stylesheet, with the node's XPath is embedded within the filename. The errors are then parsed by an XSLT that also retrieves the node that contains the error and then outputs a message and breaks the build.
Plan of attack going forward, I think, will be to create a new validation process that will be the automatic transformation scenario for each TEI file. It will:
- Validate the file(s) against the RNG
- Validate the file(s) against the Schematron
- Check for duplicate ids
- Validate embedded CSS (if any)
- Maybe run some common diagnostics (ref/name/bibl stuff, perhaps).