Whatpm (beta)

Introduction

Whatpm, part of manakai, is a work-in-progress set of Perl modules for Web hypertext application technologies.

Whatpm::ContentChecker
A DOM5 HTML (in-memory representation of a document) conformance checker.
Whatpm::ContentType
An implementation of HTML5 Content Type sniffing algorithm.
Whatpm::HTML
An implementation of HTML5 parsing algorithm and innerHTML serialization.
Whatpm::HTMLTable
An implementation of the HTML5 table algorithm.
Whatpm::IMTChecker
An Internet Media Type (aka MIME type) label conformance checker.
Whatpm::URIChecker
An IRI reference conformance checker.
Whatpm::XMLSerializer
A simple XML serializer.
List of error types

Note that all of these modules are work in progress and have a number of unresolved problems.

Demo

Dependency

Perl 5.8 or later
It is recommended to use newer release of Perl 5.8 or later.
Message::IMT::InternetMediaType
Whatpm::IMTChecker depends on Message::IMT::InternetMediaType, which is part of manakai.
Message::URI::URIReference
Whatpm::URIChecker depends on Message::URI::URIReference, which is part of manakai.
manakai charlib
Whatpm::Charset::DeocdeHandle depends on modules in manakai charlib for decoding Japanese character encodings. See the documentation for manakai charlib for more information.
Message::DOM::DOMImplementation and related modules
Testing for Whatpm::ContentChecker depends on Message::DOM::DOMImplementation and related modules in manakai. They are not required in practice.
JSON
Testing for Whatpm::HTML depends on JSON and related modules. They are not required in practice.

Distribution

The development version of Whatpm may be found in the CVS repository.

TO DO

Acknowledgments

Thanks to the html5lib team for HTML5 parser test data.

Author

.

License

Copyright 2007 Wakaba <>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.