/*
htmLawed_TESTCASE.txt, 23 April 2009
htmLawed 1.1.8.1, 16 July 2009
Copyright Santosh Patnaik
GPL v3 license
A PHP Labware internal utility - http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed
*/
This file has UTF-8-encoded text with both correct and incorrect/malformed HTML/XHTML code snippets to test htmLawed (test cases/samples). The entire text may also be used as a unit.
************************************************
when viewing this file in a web browser, set the
character encoding to Unicode/UTF-8
************************************************
--------------------- start --------------------
Try different $config and $spec values. Some text even when filtered in will not be displayed in a rendered web-page
Attributes
Xml:lang:, , Standard, predefined value, or empty attribute: , , Required: , Quote & space variation:a, a, a Invalid:a Duplicated:a Deprecated:a, Casing: Admin-restricted?:
Attribute values
Duplicate ID value:, ,
(try 'my_' for prefix) Double-quotes in value:, ,
(try filter for CSS expression) CSS expression: Other: ,
(try 'maxlen', 'maxval', etc., for 'input' in '$spec')
Blockquotes
abc
abc
def
abc
def
abc
def
ghi
abc
def
ghi
(try with blockquote parent)
CDATA sections
Special characters inside: ]]>, 3.5, & 4 > 4 ]]> Normal: , CDATA follows: Malformed: , < ![CDATA check ]]>, , < ![CDATA check ] ]> Invalid:>CDATA in tag content,
text not allowed
Complex-1: deprecated elements
The PHP software script used for this web-page webpage is htmLawedTest.php, from PHP Labware.