Setup ErrorCollector to maintain new error format, and output that HTML.
commit6a06b92f0c3c1ce57a1978ad64aa196660cd840f
authorEdward Z. Yang <edwardzyang@thewritingpot.com>
Mon, 15 Sep 2008 23:08:58 +0000 (15 19:08 -0400)
committerEdward Z. Yang <edwardzyang@thewritingpot.com>
Mon, 15 Sep 2008 23:08:58 +0000 (15 19:08 -0400)
tree061765ce02444b5105c78e0a065264f4af7de2c6
parent3184fee4685ecf4cd7c50eaeebf16d0272e34b37
Setup ErrorCollector to maintain new error format, and output that HTML.

Also changed:
    - DirectLex keeps track of column numbers in context
    - New class HTMLPurifier_ErrorStruct

Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
configdoc/usage.xml
library/HTMLPurifier.includes.php
library/HTMLPurifier.safe-includes.php
library/HTMLPurifier/AttrValidator.php
library/HTMLPurifier/ErrorCollector.php
library/HTMLPurifier/ErrorStruct.php [new file with mode: 0644]
library/HTMLPurifier/Lexer/DirectLex.php
tests/HTMLPurifier/ErrorCollectorTest.php