Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0" ?> |
michael@0 | 2 | <!DOCTYPE Test [ |
michael@0 | 3 | <!ATTLIST test id ID #REQUIRED> |
michael@0 | 4 | ]> |
michael@0 | 5 | |
michael@0 | 6 | <root> |
michael@0 | 7 | |
michael@0 | 8 | <test id="test_setAttribute"> |
michael@0 | 9 | <foo/> |
michael@0 | 10 | <foo/> |
michael@0 | 11 | </test> |
michael@0 | 12 | |
michael@0 | 13 | <test id="test_normalization"> |
michael@0 | 14 | <bar/> |
michael@0 | 15 | <bar/> |
michael@0 | 16 | </test> |
michael@0 | 17 | |
michael@0 | 18 | <test id="test_whitespace"> |
michael@0 | 19 | |
michael@0 | 20 | <!-- |
michael@0 | 21 | Tests here consist of isEqualNode comparisons of the first and third |
michael@0 | 22 | (zero-indexed) child nodes of each test. |
michael@0 | 23 | |
michael@0 | 24 | In the typical case this means that the zeroth, second, and fourth |
michael@0 | 25 | children are whitespace and the first and third are the nodes being |
michael@0 | 26 | compared for equality or inequality. |
michael@0 | 27 | |
michael@0 | 28 | In some cases, however, where either node is a Text node, this pattern |
michael@0 | 29 | must of necessity be violated. Examples of such tests include the |
michael@0 | 30 | test_text# tests. |
michael@0 | 31 | |
michael@0 | 32 | As a result of this, BE CAREFUL NOT TO INTRODUCE STRAY WHITESPACE WHEN |
michael@0 | 33 | EDITING THIS FILE. You have been warned. |
michael@0 | 34 | --> |
michael@0 | 35 | |
michael@0 | 36 | <test id="test_pi1"> |
michael@0 | 37 | <?pi data?> |
michael@0 | 38 | <?pi data?> |
michael@0 | 39 | </test> |
michael@0 | 40 | <test id="test_pi2"> |
michael@0 | 41 | <?pi data?> |
michael@0 | 42 | <?pi data?> |
michael@0 | 43 | </test> |
michael@0 | 44 | <test id="test_pi3"> |
michael@0 | 45 | <?pi data?> |
michael@0 | 46 | <?pi data ?> |
michael@0 | 47 | </test> |
michael@0 | 48 | <test id="test_pi4"> |
michael@0 | 49 | <?pi ?> |
michael@0 | 50 | <?pi ?> |
michael@0 | 51 | </test> |
michael@0 | 52 | <test id="test_pi5"> |
michael@0 | 53 | <?pi?> |
michael@0 | 54 | <?pi ?> |
michael@0 | 55 | </test> |
michael@0 | 56 | |
michael@0 | 57 | <test id="test_elt1"> |
michael@0 | 58 | <foo></foo> |
michael@0 | 59 | <foo> </foo> |
michael@0 | 60 | </test> |
michael@0 | 61 | <test id="test_elt2"> |
michael@0 | 62 | <foo></foo> |
michael@0 | 63 | <foo> |
michael@0 | 64 | </foo> |
michael@0 | 65 | </test> |
michael@0 | 66 | <test id="test_elt3"> |
michael@0 | 67 | <foo ></foo> |
michael@0 | 68 | <foo></foo> |
michael@0 | 69 | </test> |
michael@0 | 70 | <test id="test_elt4"> |
michael@0 | 71 | <bar xmlns="http://example.com/"/> |
michael@0 | 72 | <bar/> |
michael@0 | 73 | </test> |
michael@0 | 74 | <test id="test_elt5"> |
michael@0 | 75 | <bar xmlns="http://example.com/"/> |
michael@0 | 76 | <bar xmlns="http://example.com"/> |
michael@0 | 77 | </test> |
michael@0 | 78 | |
michael@0 | 79 | <test id="test_comment1"> |
michael@0 | 80 | <!--foo--> |
michael@0 | 81 | <!--foo--> |
michael@0 | 82 | </test> |
michael@0 | 83 | <test id="test_comment2"> |
michael@0 | 84 | <!--foo--> |
michael@0 | 85 | <!--foo --> |
michael@0 | 86 | </test> |
michael@0 | 87 | <test id="test_comment3"> |
michael@0 | 88 | <!--foo--> |
michael@0 | 89 | <!--foo |
michael@0 | 90 | --> |
michael@0 | 91 | </test> |
michael@0 | 92 | <test id="test_comment4"> |
michael@0 | 93 | <!-- |
michael@0 | 94 | foo--> |
michael@0 | 95 | <!-- |
michael@0 | 96 | foo--> |
michael@0 | 97 | </test> |
michael@0 | 98 | |
michael@0 | 99 | <test id="test_text1"><placeholder-dont-move/> |
michael@0 | 100 | <placeholder-dont-move/> |
michael@0 | 101 | <placeholder-dont-move/> |
michael@0 | 102 | </test> |
michael@0 | 103 | <test id="test_text2"><placeholder-dont-move/> |
michael@0 | 104 | <placeholder-dont-move/> <placeholder-dont-move/> |
michael@0 | 105 | </test> |
michael@0 | 106 | <test id="test_text3"><placeholder-dont-move/> |
michael@0 | 107 | <placeholder-dont-move/><![CDATA[ |
michael@0 | 108 | ]]> |
michael@0 | 109 | </test> |
michael@0 | 110 | |
michael@0 | 111 | <test id="test_cdata1"> |
michael@0 | 112 | <![CDATA[ ]]><placeholder-dont-move/> <placeholder-dont-move/> |
michael@0 | 113 | </test> |
michael@0 | 114 | <test id="test_cdata2"> |
michael@0 | 115 | <![CDATA[ ]]> |
michael@0 | 116 | <![CDATA[ ]]> |
michael@0 | 117 | </test> |
michael@0 | 118 | <test id="test_cdata3"> |
michael@0 | 119 | <![CDATA[ ]]> |
michael@0 | 120 | <![CDATA[ ]]> |
michael@0 | 121 | </test> |
michael@0 | 122 | <test id="test_cdata4"> |
michael@0 | 123 | <![CDATA[]]> |
michael@0 | 124 | <![CDATA[ |
michael@0 | 125 | ]]> |
michael@0 | 126 | </test> |
michael@0 | 127 | <test id="test_cdata5"> |
michael@0 | 128 | <![CDATA[ ]]> |
michael@0 | 129 | <![CDATA[ |
michael@0 | 130 | ]]> |
michael@0 | 131 | </test> |
michael@0 | 132 | |
michael@0 | 133 | </test> |
michael@0 | 134 | |
michael@0 | 135 | <test id="test_namespaces"> |
michael@0 | 136 | <test id="test_ns1"> |
michael@0 | 137 | <foo xmlns:quiz="http://example.com/" |
michael@0 | 138 | quiz:q="fun"/> |
michael@0 | 139 | <foo xmlns:f="http://example.com/" |
michael@0 | 140 | f:q="fun"/> |
michael@0 | 141 | </test> |
michael@0 | 142 | <test id="test_ns2"> |
michael@0 | 143 | <quiz:foo xmlns:quiz="http://example.com/" |
michael@0 | 144 | q="fun"/> |
michael@0 | 145 | <f:foo xmlns:f="http://example.com/" |
michael@0 | 146 | q="fun"/> |
michael@0 | 147 | </test> |
michael@0 | 148 | </test> |
michael@0 | 149 | |
michael@0 | 150 | </root> |