Login   Register  
PHP Classes
elePHPant
Icontem

Class: XHTML_Validator

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bermi Ferrer Martinez  >  XHTML_Validator  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: XHTML_Validator
Base name: xhtml_validator
Description: Validate XHTML without external PHP extensions
Related classes: , , , , ,
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 476 users
All time rank: 4613
Week users: 0 users
Week rank: 2370
Picture of Bermi Ferrer Martinez
Author: Bermi Ferrer Martinez <e-mail contact>
Packages: 4 Browse this author's classes Browse this author's classes
Country: Spain Spain - PHP jobs in Spain
Age: 33
All time rank: 82319 in Spain Spain
Week rank: 994 Down26 in Spain Spain Down
Innovation award
Innovation award
Nominee: 2x


  Detailed description  
The XhtmlValidator 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.

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 <a href="http://validator.w3.org">the w3c validator</a>, as in only 1000 lines of code the XhtmlValidator lacks support for Encoding and Doctype validation

 

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image XML XML parsing and generation View top rated classes
Group folder image Validation Validation algorithms View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Php Xhtml Validator by Bermi Ferrer Official page for the PHP Xhtml Validator. Online version available

  Files folder image Files  
File Role Description
Plain text file XhtmlValidator.php Class Performs XHTML validation using only PHP

Download all files: xhtml_validator.tar.gz xhtml_validator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.