XhtmlValidator.php 0.2 review
DownloadXhtmlValidator.php can be used to validate XHTML documents
|
|
XhtmlValidator.php can be used to validate XHTML documents. It uses only the expat extension functions always available under since PHP 3 and it does not need other external XML processing extensions.
This validator is part of the Akelos Framework and is enabled by default when the framework is on development mode.
The class parses the documents and check whether the tags and attributes used by the documents are allowed within the XHTML standard.
If validation errors are found, highlighted error messages and offending document line numbers will be returned.
This is an experimental class, so you should double check your code with the w3c validator, as in only 1000 lines of code the XhtmlValidator lacks support for Encoding and Doctype validation.
What's New in This Release:
Support for literal entities was added.
XhtmlValidator.php 0.2 keywords