5 SELECT is(xml_famous5_to_text('<'), '<', 'less than simple test');
7 SELECT isnt(xml_famous5_to_text('<'), '<', 'less than bad syntax');
9 SELECT is(xml_famous5_to_text('>'), '>', 'greater than simple test');
11 SELECT isnt(xml_famous5_to_text('>'), '>', 'greater than bad syntax');
13 SELECT is(xml_famous5_to_text('''), '''', 'apostrophe simple test');
15 SELECT isnt(xml_famous5_to_text('&apos'), '''', 'apostrohpe bad syntax');
17 SELECT is(xml_famous5_to_text('"'), '"', 'quotation simple test');
19 SELECT isnt(xml_famous5_to_text('"'), '"', 'quotation bad syntax');
21 SELECT is(xml_famous5_to_text('&'), '&', 'ampersand simple test');
23 SELECT isnt(xml_famous5_to_text('&'), '&', 'ampersand bad syntax');
25 SELECT is(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five simple test');
27 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five single syntax error');
29 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five two syntax errors');
31 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five three syntax errors');
33 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five four syntax errors');
35 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five five syntax errors');
37 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five less than syntax error');
39 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five greater than syntax error');
41 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five apostrophe syntax error');
43 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five quotation syntax error');
45 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five ampersand syntax error');
47 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five less than + greater than syntax error');
49 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five less than + apostrophe syntax error');
51 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five less than + quotation syntax error');
53 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five less than + ampersand syntax error');
55 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five greater than + apostrophe syntax error');
57 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five greater than + quotation syntax error');
59 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five greater than + ampersand syntax error');
61 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five apostrophe + quotation syntax error');
63 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five apostrophe + ampersand syntax error');
65 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five quotation + ampersand syntax error');
67 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five less than + greater than + apostrophe syntax error');
69 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five less than + greater than + quotation syntax error');
71 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five less than + greater than + ampersand syntax error');
73 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five greater than + apostrophe + quotation syntax error');
75 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five greater than + apostrophe + ampersand syntax error');
77 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five apostrophe + quotation+ ampersand syntax error');
79 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five greater than + apostrophe + quotation + ampersand syntax error');
81 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five less than + apostrophe + quotation + ampersand syntax error');
83 SELECT isnt(xml_famous5_to_text('< > ' " &'), '< > '' " &', 'all famous five less than + greater than + quotation + ampersand syntax error');
85 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five less than + greater than + apostrophe + quotation syntax error');
87 SELECT isnt(xml_famous5_to_text('< > &apos " &'), '< > '' " &', 'all famous five less than + greater than + apostrophe + quotation syntax error');
89 SELECT is(xml_famous5_to_text('< <'), '< <', 'two less thans simple test');
91 SELECT is(xml_famous5_to_text('> >'), '> >', 'two greater thans simple test');
93 SELECT is(xml_famous5_to_text('' ''), ''' ''', 'two apostrophes simple test');
95 SELECT is(xml_famous5_to_text('" "'), '" "', 'two quotations simple test');
97 SELECT is(xml_famous5_to_text('& &'), '& &', 'two ampersands simple test');
99 SELECT isnt(xml_famous5_to_text('< <'), '< <', 'two less thans one syntax error');
101 SELECT isnt(xml_famous5_to_text('> >'), '> >', 'two greater thans one syntax error');
103 SELECT isnt(xml_famous5_to_text('' &apos'), ''' ''', 'two apostrophes one syntax error');
105 SELECT isnt(xml_famous5_to_text('" "'), '" "', 'two quotations one syntax error');
107 SELECT isnt(xml_famous5_to_text('& &'), '& &', 'two ampersands one syntax error');
109 SELECT is(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by '. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'all famous five complex test');
111 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by '. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'all famous five one syntax errors complex test');
113 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by '. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'all famous five two syntax errors complex test');
115 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by &apos. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'all famous five three syntax errors complex test');
117 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by &apos. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'all famous five four syntax errors complex test');
119 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by &apos. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'all famous five five syntax errors complex test');
121 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by '. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'less than syntax errors complex test');
123 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by '. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'greater than syntax errors complex test');
125 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by &apos. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'apostrophe syntax errors complex test');
127 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by '. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'quotation syntax errors complex test');
129 SELECT isnt(xml_famous5_to_text('One plus one is < one. Two is > one. A possessive is indicated by '. Quotation marks look like ". Ampersands look like &.'), 'One plus one is < one. Two is > one. A possessive is indicated by ''. Quotation marks look like ". Ampersands look like &.', 'ampersand syntax errors complex test');