dotCMS/dotCMS — pull request #204 by mastrogiovanni (2012-04-24 09:10:02+00:00)
Title: Moved Achecker classes from eng to dotcms pachage #13

I moved achecker package to src/com/dotcms subpackage and tested the result.

About documentation to add please be more clear.

This package is the porting of achecker software: http://achecker.ca/checker/index.php
This software has a database of checks (expression to be verified against nodes of a parsed DOM document) that is imported on startup from dotsecure/achecker/achecker.sql.
We simply ported in java the core engine of AChecker:
- from selected GUIDELINES select CHECKs to verify
- parse HTML document or fragment and produce DOM
- iteratively verify expression of check over the related DOM node.
- create a list of results (metadata of check not verified, row, column in document, severity of error)

We integrated this mechanism in TinyMCE by mean of DWR wrapper and tinymce plugin called "validation".