mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
[3.1.0] Initial validator implementation for namespaces.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1622 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -24,6 +24,9 @@ foreach ($files as $file) {
|
||||
$builder->build($interchange, new HTMLPurifier_StringHash($parser->parseFile($file)));
|
||||
}
|
||||
|
||||
$validator = new HTMLPurifier_ConfigSchema_Validator();
|
||||
$validator->validate($interchange);
|
||||
|
||||
$schema_builder = new HTMLPurifier_ConfigSchema_Builder_ConfigSchema();
|
||||
$schema = $schema_builder->build($interchange);
|
||||
|
||||
|
Reference in New Issue
Block a user