projectLEMDO / lemdoIssues

Repository for LEMDO issue tracking and related documents.
MIT License
1 stars 0 forks source link

Add CSS validation to text-level diagnostics #274

Open martindholmes opened 4 days ago

martindholmes commented 4 days ago

It's remarkably difficult to get your CSS completely right when there's no validation to help you; I think it would be relatively straightforward to add a phase to the text-level diagnostics which would extract and combine all the CSS rules into a single file and just have them checked with vnu.jar. It wouldn't be perfect -- it would really be quite hard to check selectors in rendition elements -- but the basic rules (property + value) could easily be checked.

martindholmes commented 4 days ago

This will require changing the transformation from a straight XSLT task to an ant-driven thing, but that shouldn't be a problem.

martindholmes commented 3 days ago

As of rev 19780, most of this work is done, except for getting it to run on *&$^$^# Windows. The collection() function is not working on Windows paths.